os.major etc. on Linux

René J.V. Bertin rjvbertin at gmail.com
Fri May 13 03:52:03 PDT 2016


On Friday May 13 2016 05:00:21 Ryan Schmidt wrote:

> I'm not giving that any thought. MacPorts is about installing software on OS X. 

You mean it really should be renamed to OSXPorts? ^^

> MacPorts developers and maintainers do not have expertise about installing software on Linux. 

I have a hunch more of them might resent that statement than you seem to think ...

> There are other package managers that can be used to install software on Linux.

I've been finding it very useful to use the same ports to install the same software on my various systems at home. It also makes it a lot easier to test patches on the "main OS" before submitting them to upstream.

> If someone knows how to determine if a Linux machine is 64-bit or 32-bit, yes, that knowledge could be put into that file.

uname -p (processor) or uname -i (hardware platform) should do the trick (on 64-bit; I don't have a 32-bit system ATM, not even a VM).
Doesn't Tcl have the equivalent of sizeof(void*) or sizeof(size_t)?

R.


More information about the macports-dev mailing list