This is the mail archive of the crossgcc@cygnus.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more infromation.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Well, that subject line sure is a mouthful. Here's an English translation: I'm attempting to build a powerpc-linux cross-compiler from gcc-2.95 to run on a Red Hat 6.0 i686-pc-linux-gnu system, with the binutils-990809 snapshot and newlib-1.8.1 as my C library. They're all configured with: --target=powerpc-linux --with-gnu-as --with-gnu-ld --with-newlib The build of gcc-2.95 fails while building libio/iogetline.c with: ../../../../gcc-2.95/libio/libio.h:30: _G_config.h: No such file or directory This is problem #1; Any ideas where gcc is supposed to find _G_config.h? I notice at this point that all the compiler passes are built, so I installed gcc-2.95 (despite the above build error), and went ahead and built newlib-1.8.1 in a spirit of persistance and international understanding. newlib built and installed fine, but when I go to compile "hello world" with the resulting compiler, crt1.o is missing: bash$ powerpc-linux-gcc hello.c /home/elph/greyham/linux/ppc/tooldir/host/i686-pc-linux-gnu/powerpc-linux/bin/ld: cannot open crt1.o: No such file or directory collect2: ld returned 1 exit status This is problem #2; Where is crt1.o supposed to come from? newlib-1.8.1 builds crt0.o, and includes numerous crt1.c's, but no crt1.o gets built. Is this a configure problem with newlib, or am I going crazy? And finally, an off-the-wall question #3 for the newlib crew: Is there any plan to add POSIX threads support to newlib? Thanking you all very muchly, Graham _______________________________________________ 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.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |