As an exercise in both Linux and Bash, I've been trying to write some
scripts on my own to automate the building of an LFS system.

After having binutils fail right off the bat, I checked the errata and
it appears I need to add

CC="gcc -B/usr/bin/" to the configure line when building binutils.

The problem is, if I do something like this

export command='CC="gcc -B/usr/bin/"  ../binutils/configure --prefix=/tools'
$command

It complains CC="gcc command not found.

If I run it directly from the command line like normal, it of course
works just fine.
Is there a way to store that command in a variable and then run it
from the command line via a variable?

Thanks,
-JR
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to