On Sunday 11 July 2010 22:05:41 littlebat wrote: > On Sun, 11 Jul 2010 21:33:23 -0400 > > Robert Whitcomb <rwhitc...@acm.org> wrote: > > Thanks very much for your help, the CC value was set wrong. But now I > > am running into another issue: > > > > /tools/i686-pc-linux-gnu/bin/ld: crti.o: No such file: No such file or > > directory > > collect2: ld returned 1 exit status > > make[2]: *** [libgcc_s.so] Error 1 > > make[2]: Leaving directory > > `/mnt/lfs/sources/gcc-build/i686-pc-linux-gnu/libgcc' > > make[1]: *** [all-target-libgcc] Error 2 > > make[1]: Leaving directory `/mnt/lfs/sources/gcc-build' > > > > > > The crti.o file is is my /tools/lib folder, and I made sure the CC > > value was set correctly. What am I doing wrong? Thanks! > > CC="$LFS_TGT-gcc -B/tools/lib/" > > Have you missed "-B/tools/lib/" in CC value? > > If still many errors appear, suggest delete the entire tools directory > and restart from Chapter 4 again.
Good idea. Since LFS_TGT appears to be 'i686-pc-linux-gnu', methinks the toolchain is building incorrectly. And the only way to fix that is to start anew. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page