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] |
Hi, I'm trying to compile a i686-pc-linux-gnu crosscompiler on a Sparc SunOS5.7 machine. I've gotten as far as installing the most recent version of binutils from debian.org and compiling almost the entire EGCS distribution via "make cross", but the compilation dies when it tries to make libiberty after making the new gcc. gmake[2]: Entering directory `/usr/ucc/src/working/cross-compiler/build-linux-egcs/i686-pc-linux-gnu/libiberty' test x"yes" != xyes || \ /usr/ucc/src/working/cross-compiler/build-linux-egcs/gcc/xgcc -B/usr/ucc/src/working/cross-compiler/build-linux-egcs/gcc/ -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../egcs-1.1.1/libiberty/../include -fpic ../../../egcs-1.1.1/libiberty/choose-temp.c -o pic/choose-temp.o ../../../egcs-1.1.1/libiberty/choose-temp.c:40: sys/types.h: No such file or directory ../../../egcs-1.1.1/libiberty/choose-temp.c:41: sys/file.h: No such file or directory ../../../egcs-1.1.1/libiberty/choose-temp.c:50: stdio.h: No such file or directory gmake[2]: *** [choose-temp.o] Error 1 gmake[2]: Leaving directory `/usr/ucc/src/working/cross-compiler/build-linux-egcs/i686-pc-linux-gnu/libiberty' gmake[1]: *** [all-target-libiberty] Error 2 gmake[1]: Leaving directory `/usr/ucc/src/working/cross-compiler/build-linux-egcs' gmake: *** [cross] Error 2 I have glibc-2.01 kicking around but I thought that I needed it, as well as some genuine Linux kernel include files, later. The files that choose-temp.c is looking for don't exist within the egcs distribution for obvious reasons. I configured egcs with "--with-newlib" to define the inhibit_libc symbol so that libgcc.a could be compiled. Thanks for the help, JP -- Joshua Pincus UNIX Technical Assistant Rm. 44 TR 12:00 - 3:00 MF 1:00 - 3:00 _______________________________________________ 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.