• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Deploying an AU on ppc
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Deploying an AU on ppc


  • Subject: Re: Deploying an AU on ppc
  • From: "Ross Bencina" <email@hidden>
  • Date: Thu, 20 May 2010 11:34:11 +1000

I have been trying to deploy a new AU I have built using the 10.6 SDK, and I am trying to get it to deploy on 10.4 for PPC customers, however, it appears that regardless of what I set MACOSX_DEPLOYMENT_TARGET to, XCode and GCC ignore the setting and build it for 10.6.

What can I do to force it to build a 10.4 compatible version for PPC?

This is a more general question than just AU building.. but here's some ideas for you to research:


-I wonder, do you have the 10.4 sdk installed? I think you need to download it separately.

-I'm not sure whether the 10.6 standard gcc builds PPC or at least PPC/64. There is some way to switch which gcc you use and perhaps you need to look into that.

I don't build with XCode, or for PPC, and I'm still on 10.5, but here's the relevant lines from my SConstruct file, ymmv:

maxOsxTargetVersion = '10.4'
macOsxSdkRoot = '/Developer/SDKs/MacOSX10.4u.sdk'

cpppath += [macOsxSdkRoot+'/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers']

env.Append(CCFLAGS = ['-isysroot', macOsxSdkRoot])
env.Append(LINKFLAGS = ['-isysroot', macOsxSdkRoot])
#env.Append(LINKFLAGS = ['-syslibroot', macOsxSdkRoot]) # use this if scons invoked ld directly (it doesn't)


env.Append(CCFLAGS = '-mmacosx-version-min='+maxOsxTargetVersion)
env.Append(LINKFLAGS = '-mmacosx-version-min='+maxOsxTargetVersion)

os.environ["MACOSX_DEPLOYMENT_TARGET"] = maxOsxTargetVersion


Ross.


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Deploying an AU on ppc (From: Jim Heintz <email@hidden>)

  • Prev by Date: Re: timestamps for usb audio device
  • Next by Date: Re: Deploying an AU on ppc
  • Previous by thread: Re: Deploying an AU on ppc
  • Next by thread: forwarding key events to cocoa plugin views
  • Index(es):
    • Date
    • Thread