Discussion:
[ast-developers] Calculating HOSTTYPE outside AST?
Irek Szczesniak
2013-10-31 00:46:57 UTC
Permalink
How can I calculate the right HOSTTYPE without AST? Can it be
constructed using plain uname <options> output, and then append '-64'
for 64bit systems?

Irek
Glenn Fowler
2013-10-31 02:13:39 UTC
Permalink
bin/package with no args is the only way -- at least its a standalone
script w.r.t. determining ast HOSTTYPE
uname and any other method you can think of is either not portable or
inconsistent between vendors
and things like gcc binary identifiers are often too specific and again not
portable
Post by Irek Szczesniak
How can I calculate the right HOSTTYPE without AST? Can it be
constructed using plain uname <options> output, and then append '-64'
for 64bit systems?
Irek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.research.att.com/pipermail/ast-developers/attachments/20131030/accf1051/attachment.html>
Loading...