how to cross compile?
Rainer Müller
raimue at macports.org
Wed Mar 30 07:26:43 PDT 2011
On 03/25/2011 08:30 AM, Chris Murphy wrote:
> I am on x86_64 Darwin 10.6. I need to compile smartmontools for PPC
> Darwin 9.
>
> If I change build_arch to ppc, the build fails presumably because I'm
> on Snow Leopard which doesn't support ppc. But I don't see an option
> in macports.conf to tell it to build for another platform.
>
> Suggestions?
You could try to set macosx_deployment_target in macports.conf which
will use the appropriate SDK if it does not match the current system.
But be aware that this is an unsupported option. Actually I never tried
it myself.
Rainer
More information about the macports-users
mailing list