# Juce.xcconfig file for Mac OS X 10.2 to 10.4

**URL:** <https://forum.juce.com/t/juce-xcconfig-file-for-mac-os-x-10-2-to-10-4/2259>\
**Category:** MacOSX and iOS\
**Created:** [November 7, 2007, 2:04am UTC](https://forum.juce.com/t/juce-xcconfig-file-for-mac-os-x-10-2-to-10-4/2259 "2007-11-07T02:04:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ring2](https://avatars.discourse-cdn.com/v4/letter/r/b5ac83/32.png) [@ring2](https://forum.juce.com/u/ring2)\
**Post date:** [November 7, 2007, 2:04am UTC](https://forum.juce.com/t/juce-xcconfig-file-for-mac-os-x-10-2-to-10-4/2259/1 "2007-11-07T02:04:29Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://forum.juce.com/u/jules)\
**Post date:** [November 7, 2007, 11:24am UTC](https://forum.juce.com/t/juce-xcconfig-file-for-mac-os-x-10-2-to-10-4/2259/2 "2007-11-07T11:24:36Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://forum.juce.com/u/jules)\
**Post date:** [May 12, 2017, 10:06am UTC](https://forum.juce.com/t/juce-xcconfig-file-for-mac-os-x-10-2-to-10-4/2259/3 "2017-05-12T10:06:12Z")

</div>


