This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Compile on Mac OS 10.7 machine for all Mac Platforms
- From: Chuck Boody <cboody at mchsi dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Sat, 11 Aug 2012 14:35:34 -0500
- Subject: Compile on Mac OS 10.7 machine for all Mac Platforms
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