Compile on Mac OS 10.7 machine for all Mac Platforms

Chuck Boody cboody@mchsi.com
Mon Aug 13 09:34:00 GMT 2012


Greetings,

I've been compiling some code for use by Mac users and in the past by using this set of commands in the terminal:

env CFLAGS="-mmacosx-version-min=10.3 -isysroot /Developer/SDKs/MacOSX10.6.sdk -arch i386 -arch ppc" LDFLAGS="-arch i386 -arch ppc" ./configure

rather than a simple ./configure

However on my new Mac, I'm told the C compiler doesn't work when I try to use that command line.

Surely there is a way.  Any help here?

Chuck Boody



More information about the Gcc-help mailing list