Universal Binaries

Harry van der Wolf hvdwolf at gmail.com
Fri Jan 23 06:14:34 PST 2009


Hi,

I've setup my MacPorts 1.7 to always build universal (does not always work
and sometimes needs a manual change of the Portfile).
To do this I configured in the "macports.conf" the following:

# Options for Universal Binaries (+universal variant)

# MACOSX_DEPLOYMENT_TARGET
universal_target        10.4

# the SDK "sysroot" to use
universal_sysroot       /Developer/SDKs/MacOSX10.4u.sdk

# machine architectures
universal_archs         ppc i386

and in variants.conf:

+universal

Harry

2009/1/23 Joshua Root <jmr at macports.org>

> Timothy Lee wrote:
> > Hey Joshua-
> >
> > Thanks for the reply.
> > Do you know if its possible for me (on leopard) to build x86 code (all
> > my macports ports) that will also run on Tiger?
> > Short of physical access to an intel 10.4 install, is there anything I
> > can do?
>
> Don't forget to use Reply All so the discussion goes to the list as
> well. There are no guarantees that this will work, but the way to do
> what you want would be to set universal_target to 10.4,
> universal_sysroot to /Developer/SDKs/MacOSX10.4u.sdk, and
> universal_archs to i386. Then build everything with +universal (best to
> add it to your variants.conf).
>
> - Josh
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20090123/58aea1ed/attachment.html>


More information about the macports-users mailing list