[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 chet@case.edu http://cnswww.cns.cwru.edu/~chet/
- $HOSTTYPE, Peter Lowe, 2008/07/15
- Re: $HOSTTYPE,
Chet Ramey <=