On Sun, 11 Jul 2010 21:58:16 -0400 Neal Murphy <neal.p.mur...@alum.wpi.edu> wrote:
> On Sunday 11 July 2010 21:33:23 Robert Whitcomb 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! > > What did you set LFS_TGT to? If you exactly followed the book, the > above value (i686-pc-linux-gnu) is incorrect. I checked my gcc pass 2 building log at http://linuxfromscratch.pastebin.com/ni7edwLd , line 60: checking for ld... /tools/i686-pc-linux-gnu/bin/ld line 1910: checking what linker to use... /tools/i686-pc-linux-gnu/bin/ld So I guess his "/tools/i686-pc-linux-gnu/bin/ld" is right. But, when I restarted build gcc pass 2, I removed that crti.o first, then did the configure as book says, of course, error reported, I checked config.log, it said: <quote> /mnt/lfs/tools/bin/../lib/gcc/i686-lfs-linux-gnu/4.4.3/../../../../i686-lfs-linux-gnu/bin/ld: crti.o: No such file: No such file or directory collect2: ld returned 1 exit status </quote> It seems "/tools/i686-lfs-linux-gnu/bin/ld" was working for it, so I am not sure his "/tools/i686-pc-linux-gnu/bin/ld" is right or error now. I am a LFS newbie and is shooting in the dark :-) PS: I am using parellel make introduced in "4.5. About SBUs", so the "make *" log lines is interleaved in my build log posted above. -- littlebat -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page