use of LFS_TGT in relesed lfs 6.4 book

Mike Vanderlaan splat at leakypen.com
Sun Jan 18 12:40:41 PST 2009


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/'`
*

but section 4.4 on setting up the environment doesn't define the LFS_TGT
environment variable so you get the error:

 -gcc: command not found

Should the - before the gcc at least be taken out?  Or maybe for the relesed
6.4 boot don't have the $LFS_TGT- at all?  I noticed it is defined in the
dev version of the book.

Am I missing something?



                               Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-support/attachments/20090118/0e5bc212/attachment.html>


More information about the lfs-support mailing list