Dan Nicholson wrote:
> In the adjustment, though, he uses `gcc -dumpmachine`, though.  This 
> is probably wise since you don't know what MACHTYPE is from the
> host's bash.  In fact, this might be a good idea for both
> adjustments.  I don't know how reliable MACHTYPE is, but I'm
> speculating since I don't know how it's determined.

Well, the "standard" solution to this (e.g. on non-bash/non-gcc systems)
is to use the output of the GNU "config.guess" script.  AFAIK that's
what both bash and gcc do to generate that string.  However, they may
use different versions of the script, so they may end up with different
values, and if we compare the host's bash or gcc to the /tools one, they
may also be different (for instance, Mandrake systems used to do this; I
don't know whether they still do).

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to