Juce.xcconfig file for Mac OS X 10.2 to 10.4


#1

Hi there,

On Mac OS X 10.5 Leopard, we can install Xcode 2.5 and 3.0 simultaneously, there are two different SDK folders, which is defined as DEVELOPER_SDK_DIR.

So I think the configuration file should be changed as follows in order to build with Xcode 2.5 and 3.0 on Leopard. It also works Xcode 2.4 on Tiger.

[code]ARCHS = ppc i386

// For 10.2 compatibility, use these values:
MACOSX_DEPLOYMENT_TARGET = 10.4
SDKROOT = (DEVELOPER_SDK_DIR)/MacOSX10.4u.sdk GCC_VERSION_ppc = 3.3 MACOSX_DEPLOYMENT_TARGET_ppc = 10.2 OTHER_LD_FLAGS_ppc = (DEVELOPER_SDK_DIR)/MacOSX10.2.8.sdk/usr/lib/gcc/darwin/3.3/libstdc++.a
SDKROOT_ppc = $(DEVELOPER_SDK_DIR)/MacOSX10.2.8.sdk

// For 10.3 compatibility, use these:
// MACOSX_DEPLOYMENT_TARGET = 10.4
// SDKROOT = (DEVELOPER_SDK_DIR)/MacOSX10.4u.sdk // MACOSX_DEPLOYMENT_TARGET_ppc = 10.3 // SDKROOT_ppc = (DEVELOPER_SDK_DIR)/MacOSX10.3.9.sdk

// For 10.4 compatibility, use these:
// MACOSX_DEPLOYMENT_TARGET = 10.4
// SDKROOT = $(DEVELOPER_SDK_DIR)/MacOSX10.4u.sdk

// For 10.5 compatibility, use these:
// MACOSX_DEPLOYMENT_TARGET = 10.5
// SDKROOT = $(DEVELOPER_SDK_DIR)/MacOSX10.5.sdk
[/code]

P.S.
In the latest CoreAudio SDK which is installed by Xcode 3.0 installer, there are two pure virtual methods in AUBase. So JUCE AudioUnit wrapper should support them…

Best regards,
Masanao Hayashi


#2

Ok, thanks for the tip. I guess I’ll need to get xcode 3 soon and see what they’ve done to it.


#3