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 check my gcc pass 2 building log, " /tools/i686-pc-linux-gnu/bin/ld "
is right. But the C compiler should be " i686-lfs-linux-gnu-gcc ".

I have posted my log for reference at:
http://linuxfromscratch.pastebin.com/ni7edwLd

Note, I am using parellel make introduced in "4.5. About SBUs", so the
"make *" log lines is interleaved.   


--
littlebat
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to