use of LFS_TGT in relesed lfs 6.4 book

Randy McMurchy lfs.user at
Sun Jan 18 13:58:15 PST 2009

Mike Vanderlaan wrote:
> At the end of gcc compile pass1, the book states to link libgcc_eh.a by 
> linking to libgcc.a for pass1 with the command: 
> ln -vs libgcc.a `$LFS_TGT-gcc -print-libgcc-file-name | \
> sed 's/libgcc/&_eh/'`
> Am I missing something?

I don't know which book you're reading but it isn't the
LFS 6.4 book. In that book the command is:

ln -vs libgcc.a `gcc -print-libgcc-file-name | \
     sed 's/libgcc/&_eh/'`


More information about the lfs-support mailing list