Thread
:
Compiling for GNU/Linux, OSX, and XP
View Single Post
7th January 2008, 02:57 PM
#
2
Andy
Administrator
Professional user
Join Date: Jun 2003
Posts: 4,565
Re: Compiling for GNU/Linux, OSX, and XP
OS X is slightly different to Linux
from a makefile:
Quote:
UNIVERSAL=-arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4
CFLAGS= -dynamic -DMAC -DMACINTOSH -I${INCLUDE} ${UNIVERSAL}
CC=g++
LD=g++
Andy
View Public Profile
Send a private message to Andy
Find More Posts by Andy