Trying to build a cross compiler from linux to netbsd...
Rod Stewart
stewart@nexus.carleton.ca
Tue Jan 2 18:57:00 GMT 2001
On Tue, 2 Jan 2001, Dick Munroe wrote:
[...]
> ../egcs-1.0.3a/configure --host=i686-pc-linux-gnu --target=i386-aout
> --prefix=/home/usr/local
>
> Which ultimately generates the following error:
>
> ln collect2 ld
> /home/egcs/gcc/xgcc -B/home/egcs/gcc/ -DCROSS_COMPILE -DIN_GCC -g -O2
>
> -I./include -I. -I../../egcs-1.0.3a/gcc -I../../egcs-1.0.3a/gcc/config
> \
> -c ../../egcs-1.0.3a/gcc/objc/hash.c -o objc/hash.o
> In file included from ../../egcs-1.0.3a/gcc/objc/hash.c:31:
> ../../egcs-1.0.3a/gcc/objc/runtime.h:31: stdio.h: No such file or
> directory
> ../../egcs-1.0.3a/gcc/objc/runtime.h:32: ctype.h: No such file or
> directory
> In file included from ../../egcs-1.0.3a/gcc/objc/runtime.h:38,
> from ../../egcs-1.0.3a/gcc/objc/hash.c:31:
> include/objc/objc-api.h:33: stdio.h: No such file or directory
> make[1]: *** [objc/hash.o] Error 1
> make[1]: Leaving directory `/home/egcs/gcc'
> make: *** [all-gcc] Error 2
You need to install libc headers files and libraries for your target
system. Ie. the NetBSD ones.
-Rms
------
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