set deployment target from macports.conf
Anders F Björklund
afb at macports.org
Fri Aug 22 01:59:40 PDT 2008
Harry van der Wolf wrote:
> I'm currently on Tiger but I'm planning to move to Leopard. I build
> bundles for 2 open source projects currently by "hand compiling"
> almost every library as universal. I'm trying to move to MacPorts
> as that's much simpler and MacPorts has much improved in the
> Universal section.
> If I build an application bundle on Leopard using macports, it will
> crash on Tiger with a bus error. Most possibly due to the default
> deployment target and mmacosx-version-min which are default set to
> 10.5 on Leopard 10.5 (I assume?)
> So, is it possible to set the macosx_deployment_target and CFLAG/
> CXXFLAG setting -mmacosx-version-min to 10.4 also on Leopard as a
> default in macports.conf or another configuration file?
I don't think that will be enough, in the general case.
To build for Tiger, you need to use MacOSX10.4u.sdk...
Theoretically +universal should be able to handle this,
but cross-compiling isn't really supported in MacPorts.
More information about the macports-users