multiple arch flags won't work with -E
jmr at macports.org
Thu Feb 3 19:18:18 PST 2011
On 2011-2-4 14:07 , James Gregurich wrote:
> ok. I will continue running tests on what I have to see what works and what doesn't work. I have the thing working for 3 different ports with no unreasonable modifications to the port files. There is no point to starting over with a new strategy if this one is working....particularly one that would mean much more complex port files.
> The key is running the configure scripts through muniversal and setting the the -host option on the configure script. These projects appear to be designed to cross-compile you just have to pass the right options in. muniversal builds one architecture at a time...which is exactly what is needed for the configure scripts to work right on cross-compiling.
You'll notice muniversal has an option called merger_must_run_binaries.
Anything that needs this to be set will not cross compile.
More information about the macports-dev