bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: $HOSTTYPE


From: Chet Ramey
Subject: Re: $HOSTTYPE
Date: Tue, 15 Jul 2008 14:27:23 -0400
User-agent: Thunderbird 2.0.0.14 (Macintosh/20080421)

Peter Lowe wrote:
Hello,

How does bash determine $HOSTTYPE? Is it dependent on the version of bash installed - if I install i586 packages on an x86_64 platform, will $HOSTTYPE be i586? (I wouldn't've thought so, but I wanted to check.)

It's set from the `CONF_HOSTTYPE' define, which is passed to the
compiler in the top-level Makefile.  It gets into the Makefile via
`configure', which substitutes the value it gets from config.{guess,sub}
or the --build and --host options.

(In short, "configure sets it." :-) )

Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer

Chet Ramey, ITS, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]