I am not at the computer this instance of LFS is being done, but I know my
CC in the Makfile does have the -B/tools/lib/ option specified.  I'll guess
I start over from chapter 4.  Thanks for your help!

On Mon, Jul 12, 2010 at 4:01 AM, littlebat <dashing.m...@gmail.com> wrote:

> 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
>



-- 
Robert Whitcomb
Γνώθι Σεαυτόν
http://www.acm.org/
John 3:16,Galatians 5:22-23,Song of Songs 8:6-7, Colossians 3:2
"Live a good life. If there are gods and they are just, then they will not
care how devout you have been, but will welcome you based on the virtues you
have lived by. If there are gods, but unjust, then you should not want to
worship them. If there are no gods, then you will be gone, but will have
lived a noble life that will live on in the memories of your loved ones." —
Marcus Aurelius
-- 
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