use of LFS_TGT in relesed lfs 6.4 book

Chris Staub chris at
Sun Jan 18 19:47:59 PST 2009

Randy McMurchy wrote:
> 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/'`

I had a user in IRC insisting they were looking at LFS 6.4, specifically 
the pdf - 
- and that it mentioned $LFS_TGT in that command. I tried checking the 
pdf myself to be certain, but I'm having some odd font issues with it 
and can't view any of the text...

More information about the lfs-support mailing list