building bootstrap gcc 3.3.3

Alexander Gdalevich gdalevich@hotmail.com
Sun Mar 28 18:57:00 GMT 2004


Greetings!

I have a problem building cross gcc 3.3.3

Here is what I have done:

../gcc-3.3.3/configure --target=sh-elf --prefix=/gcc_build/sh4 \
--enable-languages=c,c++ --with-newlib --without-headers \
--program-prefix=sh-elf- --disable-threads -v 2>&1 | tee configure.out

make all-gcc install-gcc 2>&1 | tee make.log


Here is the error I get:

In file included from embed-bb.c:40:
../../gcc-3.3.3/gcc/tsystem.h:72:19: stdio.h: No such file or directory
../../gcc-3.3.3/gcc/tsystem.h:75:23: sys/types.h: No such file or directory
../../gcc-3.3.3/gcc/tsystem.h:78:19: errno.h: No such file or directory
embed-bb.c:1282:19: stdio.h: No such file or directory
In file included from embed-bb.c:1284:

more references to standard lib headers follow...

My question is:
I did specify the "--without-headers" option, yet, gcc is still trying to 
use libc headers.  What am I doing wrong?

Thanks for your time.



----------------------------------------------------------------
"Normal people ... believe that if it ain't broke, don't fix it. Engineers 
believe that if it ain't broke, it doesn't have enough features yet."

_________________________________________________________________
Get reliable access on MSN 9 Dial-up. 3 months for the price of 1! 
(Limited-time offer) 
http://join.msn.com/?page=dept/dialup&pgmarket=en-us&ST=1/go/onm00200361ave/direct/01/


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



More information about the crossgcc mailing list