This is the mail archive of the crossgcc@cygnus.com mailing list for the crossgcc project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
I had the same error while building my gcc. To resolve it, I tried adding the following option: -I/usr/include in the makefile. That seemded to work. -Derek Lac dlac@nortelnetworks.com Brian Wagener wrote: > I am trying to build egcs 1.1.1 as a cross-compiler > (host=i686-redhat5.1-linux target=i686-pc-mingw32). Note all that I have > installed is the binutlis build for i686-pc-mingw32, I haven't installed > anyother libraries for i686-pc-mingw32. I read that egcs 1.1.1 comes with > the mingw32 libraries already, is that true? Well here is my error messages > and can you please tell me what else I need(libraries) to finish the > building of this cross-compiler. > > ../../egcs-1.1.1/gcc/libgcc2.c:41: stdlib.h: No such file or directory > ../../egcs-1.1.1/gcc/libgcc2.c:42: unistd.h: No such file or directory > make[1]: *** [libgcc2.a] Error 1 > make[1]: Leaving directory `/usr/src/build-egcs-win32/gcc' > make: *** [cross] Error 2 > > **** > Brian Wagener -- wagener@cs.fsu.edu > > _______________________________________________ > New CrossGCC FAQ: http://www.objsw.com/CrossGCC > _______________________________________________ > To remove yourself from the crossgcc list, send > mail to crossgcc-request@cygnus.com with the > text 'unsubscribe' (without the quotes) in the > body of the message. _______________________________________________ New CrossGCC FAQ: http://www.objsw.com/CrossGCC _______________________________________________ To remove yourself from the crossgcc list, send mail to crossgcc-request@cygnus.com with the text 'unsubscribe' (without the quotes) in the body of the message.