This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
gcc -2.95.2 cross-compilation problem for m68k-coff
- To: "Gcc-Help at Gcc dot Gnu dot Org" <gcc-help at gcc dot gnu dot org>
- Subject: gcc -2.95.2 cross-compilation problem for m68k-coff
- From: "Mahadev K Cholachagudda" <kcmahadev at zilogindia dot com>
- Date: Fri, 12 Jan 2001 09:36:54 -0000
Hello all,
****please reply in CC to **** to mailto:kcmahadev@zilogindia.com as i am
not a subscriber of this list.
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
( )