MacPorts and x86_64?

Andre-John Mas ajmas at sympatico.ca
Wed Jun 24 13:03:24 PDT 2009


On 24-Jun-2009, at 15:12, Joshua Root wrote:

> On 2009-6-25 04:50, Andre-John Mas wrote:
>> Hi,
>>
>> From what I read (accuracy of information can be disputed) we should
>> expect Snow Leopard release in the third quater of this year. Taking
>> this into account, I am curious to know when the general mandate is  
>> to
>> 64-bit compilation and Snow Leopard? For example will all ports be
>> encouraged to build 64-bit by default on Snow Leopard, or will it be
>> whatever the port maintainer feels like?
>
> 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?

> BTW, there is no question about accuracy. Barring large-scale  
> disaster,
> Snow Leopard *will* ship in September. :-)


Good to know, I couldn't find any source for dates, so I didn't want to
commit myself.

Andre


More information about the macports-users mailing list