I removed it from the project and things seem to build fine, so
maybe it was removed from the repository but not the project?
Also, I recommend that some settings be changed:
I think Eric is fixing the Xcode projects.
Yes, I’m working on them now.
Also, I recommend that some settings be changed:
ARCHS = ppc i386 x86_64
GCC_VERSION_x86_64 = 4.2
GCC_VERSION_i386 = 4.0
GCC_VERSION_ppc = 3.3
MACOSX_DEPLOYMENT_TARGET_x86_64 = 10.5
MACOSX_DEPLOYMENT_TARGET_i386 = 10.4
MACOSX_DEPLOYMENT_TARGET_ppc = 10.3
SDKROOT_x86_64 = /Developer/SDKs/MacOSX10.5.sdk
SDKROOT_i386 = /Developer/SDKs/MacOSX10.4u.sdk
SDKROOT_ppc = /Developer/SDKs/MacOSX10.3.9.sdk
It’s going to get hard to build for 10.2 and even 10.3.9 these days.
Xcode 3.2 only comes with the 10.6, 10.5, and 10.4 SDKs. Is it even
possible to do a universal build which includes 10.2? Anyway, at the
very least, these changes would be nice, so that we get 64-bit SDL
builds by default:
ARCHS = ppc i386 x86_64
GCC_VERSION_x86_64 = 4.2
MACOSX_DEPLOYMENT_TARGET_x86_64 = 10.5
SDKROOT_x86_64 = /Developer/SDKs/MacOSX10.5.sdk
I suppose the ARCHS line could contain ppc64, too, but I don’t have a
G5 to do test runs of it.
So in my tests so far, 64-bit for 10.5 is currently not possible due
to at least one piece of code we use. When trying to build for PowerPC
64-bit for curiosity sake, I encountered an undefined variable:
‘UsrActivity’ in SDL_QuartzEvents.m. This uses something from Apple’s
Power Management headers. In my research, I came across a thread that
said all that functionality was not exposed to 64-bit in Leopard,
meaning you had to wait for Snow Leopard.
So for 64-bit, I think we need to require Snow Leopard as a minimum.
As far as I know projects compiled for 10.4u SDK works also on 10.3.9, at least if u don’t use 10.4+ specific features in your code.
As for this, we could try playing some games with the
-mmacosx-version-min flag and set it to 10.3 while using the 10.4 SDK,
but is it really worth it? Do we have anybody that can do testing for
us?
-EricOn 9/21/09, Ryan C. Gordon wrote: