From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rod Stewart To: Dick Munroe Cc: crossgcc@sourceware.cygnus.com Subject: Re: Trying to build a cross compiler from linux to netbsd... Date: Sun, 01 Apr 2001 00:00:00 -0000 Message-ID: References: <3A5293AF.CC95CA6E@csworks.com> X-SW-Source: 2001-q1/msg00002.html Message-ID: <20010401000000.TkWxClmzhFMx9f6AhWBHVaF53Hrt9oXQYnNauTc--60@z> 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