MacPorts and x86_64?

Joshua Root jmr at macports.org
Wed Jun 24 14:33:34 PDT 2009


On 2009-6-25 06:57, Ryan Schmidt wrote:
> 
> On Jun 24, 2009, at 15:03, Andre-John Mas wrote:
> 
>> On 24-Jun-2009, at 15:12, Joshua Root wrote:
>>
>>> I'm told that the compiler on Snow Leopard generates x86_64 binaries by
>>> default. So with the current MacPorts code, that is what you'll get
>>> (unless you build universal, or the port adds -arch flags itself).
>>>
>>> The plan is to add a setting for the default target arch. MacPorts would
>>> then attempt to always pass a -arch flag to the compiler (or -m32/-m64
>>> for non-Apple compilers), and individual ports would need to make sure
>>> that this is picked up by their build system if the default methods
>>> don't suffice. The "sensible default" for this option would appear to be
>>> x86_64 on Snow Leopard, and i386 or ppc on earlier OS releases according
>>> to the hardware arch.
>>
>> Will this option be specifiable in a configuration, so that in the short
>> term we can test 64-bit compatibility in Leopard?

The setting won't be exclusive to Snow Leopard once it exists.

- Josh


More information about the macports-users mailing list