LFS_TGT=$(uname -m)-lfs-linux-gnu

Simon Geard delgarde at ihug.co.nz
Mon Nov 16 23:45:57 PST 2009

On Mon, 2009-11-16 at 22:52 -0500, Chris Staub wrote:
> On 11/16/2009 10:30 PM, knothead00 at gmail.com wrote:
> > When i include the line "LFS_TGT=$(uname -m)-lfs-linux-gnu" in the
> > .bashrc and run the command "source ~/.bash_profile" it complains that
> > "bash: -lfs-linux-gnu: command not found".
> >
> Then you must have mistyped it. If you enter that line *exactly* as 
> given in the book, it will always work. My guess is that you added an 
> extra space.

Yeah, that'd usually be a sign of a space before the -lfs-linux-gnu.
You'll end up with a command like "LFS_TGT=i686 -lfs-linux-gnu", which
tries to run -lfs-linux-gnu with LFS_TGT set to i686.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-support/attachments/20091117/eecc7e65/attachment.sig>

More information about the lfs-support mailing list