This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re:


Hi, Mahadev.
I'm also works with m68k-coff, and succeed build on my windoze.
The problem you got is lack of header files, because gcc needs
them to build libgcc.a. Therefore, get newlib package and put
them in the directory the same as gcc (/home/kc), and run
configure script of gcc again. If you have put newlib in
other directory, it's ok, using
'--with-header=/somewhere/newlib/libc/include' with
configure script of gcc.

----- Original Message -----
From: "Mahadev K Cholachagudda" <kcmahadev@zilogindia.com>
To: "Crossgcc-Help" <crossgcc@sources.redhat.com>
Sent: Friday, January 12, 2001 7:21 PM
Subject: FW:


>
> Hello all,
>
> I want to compile and build the gcc ( cross compiler) for m68k-coff on
> Linux.
> I successfully built the cross compiler by using the FAQ provided by the
> www.obsw.com and running the shell script. But i want to build the tools
one
> by one and I got the errors as below.
>
> I performed the following.
>
> /home/kc> mkdir build-bin
> /home/kc> cd build-bin
> /home/kc/build-bin>
> ../binutils-2.9.1/configure --target=m68k-coff --prefix=/home/kc/gnu-tools
>
> ....
> /home/kc/build-bin> make all install
> /home/kc/build-bin> mkdir ../build-gcc
> /home/kc/build-bin> cd ../build-gcc
> /home/kc/build-bin>
>
../gcc-2.95.2/configure --target=m68k-coff --prefix=/home/kc/gnu-tools --wit
> h-local-prefix=/home/kc/gnu-tools --with-newlib --enable-languages="c"
>
> ..... successfully
>
> /home/kc/build-bin> make all install
> :
> :
> ../../gcc-2.95.2/gcc/libgcc2.c:41: stdlib.h: No such file or directory
> ../../gcc-2.95.2/gcc/libgcc2.c:42: unistd.h: No such file or directory
> make[3]: *** [libgcc2.a] Error 1
> make[3]: Leaving directory `/home/kc/build-gcc/gcc'
> make[2]: *** [stmp-multilib-sub] Error 2
> make[2]: Leaving directory `/home/kc/build-gcc/gcc'
> make[1]: *** [stmp-multilib] Error 1
> make[1]: Leaving directory `/home/kc/build-gcc/gcc'
> make: *** [all-gcc] Error 2
> /home/kc/build-bin>
>
>
> Could any one point me where can i get these header files in order to
> compile the gcc ?
>
> Thanks for any help
>
> With best regards,
>
> \/ \/   Mahadev K. Cholachagudda
> O . O   mailto:kcmahadev@zilogindia.com
>  ( )
>
>
> ------
> Want more information?  See the CrossGCC FAQ,
http://www.objsw.com/CrossGCC/
> Want to unsubscribe? Send a note to
crossgcc-unsubscribe@sourceware.cygnus.com
>


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]