gcc and universal binaries

Ryan Schmidt ryandesign at macports.org
Sat Aug 24 08:27:07 PDT 2013


On Aug 24, 2013, at 10:23, Mojca Miklavec wrote:
> It cannot. You really need to use Snow Leopard if you want to build
> for x86_64, i386 and ppc (conditionally Leopard, but support for
> x86_64 is not quite mature there yet). I don't know about ppc64, but
> basically nobody uses those.

Leopard should be fine for 64-bit. Tiger has trouble with it sometimes since 64-bit was new in Tiger.

> Maybe the gnu compiler started supporting -arch recently, but some
> years ago it only supported "-m32" and "-m64". There were some other
> compilers that supported "-arch")

I hear FSF gcc started supporting -arch flags in version 4.7 but does not support multiple -arch flags in a single invocation.



More information about the macports-users mailing list