os.major etc. on Linux
Brandon Allbery
allbery.b at gmail.com
Fri May 13 07:11:50 PDT 2016
On Fri, May 13, 2016 at 4:07 AM, René J.V. <rjvbertin at gmail.com> wrote:
> I'm curious though, what ports rely on i386 meaning "Intel, 32 or 64 bit"
> rather than "Intel, 32 bit", directly in their Portfile rather than
> indirectly through "base"? I find that confusing and it often makes me
> pause when I see the term appear in the log of a build I know should be for
> 64-bit (and it feels to me to be as smart as using an undocumented feature
> ;)).
Remember that OS X goes to great lengths to hide 32 vs. 64 bit
distinctions; 32 bit OS X kernels were perfectly capable of running 64 bit
binaries on 64-bit CPUs, at least on Intel. So some of this comes down to
"Apple so decreed and it's much easier to play along than to try to make OS
X act differently". In particular, see how arch(1) works.
--
brandon s allbery kf8nh sine nomine associates
allbery.b at gmail.com ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-dev/attachments/20160513/1b413172/attachment.html>
More information about the macports-dev
mailing list