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!

On Sun, Jul 11, 2010 at 12:36 PM, Neal Murphy <neal.p.mur...@alum.wpi.edu>wrote:

> On Sunday 11 July 2010 10:21:53 littlebat wrote:
> > On Sun, 11 Jul 2010 08:48:28 -0400
> >
> > Robert Whitcomb <rwhitc...@acm.org> wrote:
> > > checking for
> > > i686-pc-linux-gnu-gcc... /mnt/lfs/sources/gcc-build/./gcc/xgcc
> >
> > in Section "5.10. GCC-4.4.3 - Pass 2" of LFS BOOK 6.6, it
> > says: CC="$LFS_TGT-gcc -B/tools/lib/"
> >
> > So I remember the configure output should be something like below:
> > checking for
> > i686-lfs-linux-gnu-gcc...
> >
> > Maybe, check your environment value: $LFS_TGT
>
> A reading from the book of LFS, chapter 4.4, verses 18-19. "The LFS_TGT
> variable sets a non-default, but compatible machine description for use
> when
> building our cross compiler and linker and when cross compiling our
> temporary
> toolchain. More information is contained in Section 5.2, “Toolchain
> Technical
> Notes”."
>
> Yessiree. "i686-pc-linux-gnu" is the default, so something has gone awry
> with
> your environment.
> --
> 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