[Fwd: LFS 6.4: Helped me with with "/tools/bin/ld: cannot find-lgcc_eh " in Chapter 5.7 Patch for glibc --]

Gilles Espinasse g.esp at free.fr
Mon Dec 1 16:23:09 MST 2008


----- Original Message ----- 
From: "Jeremy Huntwork" <jhuntwork at linuxfromscratch.org>
To: "LFS Developers Mailinglist" <lfs-dev at linuxfromscratch.org>
Sent: Monday, December 01, 2008 10:12 PM
Subject: Re: [Fwd: LFS 6.4: Helped me with with "/tools/bin/ld: cannot
find-lgcc_eh " in Chapter 5.7 Patch for glibc --]


> Bruce Dubbs wrote:
> > But this helped me...
> >
> > Btw I'd appreciate if youl'd make a notice to this patch in that (and
the
> > other chapters as well) in chapter 5.7 of LFS 6.4...
>
> This patch is unecessary in LFS, since we create a symlink at the end of
> gcc-pass1, like so:
>
> ln -vs libgcc.a `gcc -print-libgcc-file-name | \
>      sed 's/libgcc/&_eh/'`
>
> He probably missed this command or didn't run it successfully (didn't
> use backticks?)
>
For such a command not simple to type, it may be wise to recommend checking
the result with
ls -l

Gilles



More information about the lfs-dev mailing list