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?

I think you can already test this by using the +universal variant and setting universal_archs to x86_64 in macports.conf.


_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

Reply via email to