Building GCC for m68k-coff
Noah Aklilu
naklilu@ualberta.ca
Tue May 9 11:28:00 GMT 2000
Hi
I am trying to build gcc for as cross-compiler for m68k-coff
using Freebsd 2.2.8 as host. I am upgrading the compiler from
2.8.1 to 2.95.2, so I already have the 2.9.1 binutils already built and
they are confirmed to be working since I have built and run code
using them. I have the headers from newlib 1.8.1 which I was
using but will be upgrading as well, once I have built gcc.
I start off by running configure:
../gcc-2.95.2/configure --target=$target --host=$host --prefix=$prefix
--with-gun-as --with-gnu-ld --with-headers=/usr/local/m68k-
coff/include --with-newlib --enable-languages=c,c++ -v
all goes well until this happens:
test x"no" != xyes || /usr2/home/aklilu/temp/source/build-
gcc/gcc/xgcc -B/usr2/home/aklilu/temp/source/build-gc
c/gcc/ -B/usr/local/m68k-coff/bin/ -c -DHAVE_CONFIG_H -g -O2 -I.
-I../../../gcc-2.95.2/libiberty/../include ..
/../../gcc-2.95.2/libiberty/choose-temp.c -o pic/choose-temp.o
/usr2/home/aklilu/temp/source/build-gcc/gcc/xgcc -
B/usr2/home/aklilu/temp/source/build-gcc/gcc/ -B/usr/local/m68
k-coff/bin/ -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-
2.95.2/libiberty/../include ../../../gcc-2.95.2/libibe
rty/choose-temp.c
../../../gcc-2.95.2/libiberty/choose-temp.c:29: stdio.h: No such file
or directory
../../../gcc-2.95.2/libiberty/choose-temp.c:30: sys/types.h: No such
file or directory
*** Error code 1
Stop.
*** Error code 1
Stop.
I am a bit surprised that it doesn't specify -I/usr/local/m68k-coff for
this compilation as it does for the compilaiton right before this one
as show below:
/usr2/home/aklilu/temp/source/build-gcc/gcc/xgcc -
B/usr2/home/aklilu/temp/source/build-gcc/gcc/ -B/usr/local/m68
k-coff/bin/ -I/usr/local/m68k-coff/include -DCROSS_COMPILE -
DIN_GCC -g -O2 -I./include -c ../../gcc-2.95.
2/gcc/libgcc1-test.c
Any advice is appreciated.
Noah Aklilu
MSc Graduate Student
Dept of Electrical and Computer Engineering
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
More information about the crossgcc
mailing list