use of LFS_TGT in relesed lfs 6.4 book

Thomas Pegg tom.pegg at gmail.com
Sun Jan 18 20:12:18 PST 2009


Chris Staub wrote:
> 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 - 
> http://www.linuxfromscratch.org/lfs/downloads/stable/LFS-BOOK-6.4.pdf.bz2 
> - 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...

I can confirm that, very odd. The online html does not have it like that.

Note this is section 5.5, btw.

Thomas




More information about the lfs-support mailing list