Which GCC does macports use?
jmr at macports.org
Mon Apr 5 19:21:29 PDT 2010
On 2010-4-6 06:54 , Ryan Schmidt wrote:
> Apple's patches allow gcc to accept multiple simultaneous arch flags, e.g. "gcc -arch i386 -arch ix86_64" to generate both at the same time. Standard gcc does not have this ability; instead, you have to "gcc -arch i386", then "gcc -arch x86_64", then "lipo" manually. For ports that require a non-Apple gcc compiler, universal builds are probably possible using the muniversal portgroup, which does this build-and-lipo method.
FSF GCC does not accept -arch at all.
More information about the macports-users