This is the mail archive of the
libffi-discuss@sourceware.org
mailing list for the libffi project.
Re: Cross compilation of libffi on MacOS 10.5 (i386) for PPC
- From: John Paul Adrian Glaubitz <glaubitz at physik dot fu-berlin dot de>
- To: libffi-discuss at sourceware dot org
- Cc: green at moxielogic dot com
- Date: Sat, 28 Jan 2012 18:49:58 +0100
- Subject: Re: Cross compilation of libffi on MacOS 10.5 (i386) for PPC
- References: <7E2D9666-C17D-4DFC-9844-AE1229DFC4D7@physik.fu-berlin.de>
On Jan 28, 2012, at 6:16 PM, John Paul Adrian Glaubitz wrote:
> Anyone can point me into the right direction? It seems that I'm configuring the package wrong so it
> still tries to build for i386 instead of PPC.
Ok, I added configure.args --build=powerpc-apple-darwin9.8.0 --with-gcc-arch=ppc to the Macports port file and it worked!
Adrian