• 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: g++ 4 & MACOSX_DEPLOYMENT_TARGET=10.2
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: g++ 4 & MACOSX_DEPLOYMENT_TARGET=10.2


  • Subject: Re: g++ 4 & MACOSX_DEPLOYMENT_TARGET=10.2
  • From: "Roni Music" <email@hidden>
  • Date: Thu, 17 Nov 2005 09:21:39 +0100

No, gcc4.0 requires the dynamic libstdc++.dylib which is only deployed
on 10.3.9 and later.  To build for 10.2, use the SDK in conjunction
with gcc 3.3.  You can use the GCC_VERSION = 3.3 build setting to
select this on a per-target basis (or GCC_VERSION_ppc for per-target,
per-architecture).

Chris

Using XCode 2.2 (btw, works great)

My  PPC apps still need to target 10.2 so I use GCC 3.3 with
"Mac OS X Deployment Target" set to Mac OS X 10.2
using the 10.4u.sdk
All this works fine and has since XCode 2.1

When building a universal binary I know I need to change to GCC 4,
so changing to GCC 4 in the "Rules" pane makes it build fine.
I now have a working universal binary, so far, so good.

But I still want the ppc version to target 10.2

It seems the only thing I need to do is to set
GCC_VERSION_ppc = 3.3
and
GCC_VERSION_i386 = 4.0

Were in the "Build" pane do I set this?

I've checked the XCode docs which explains what build setting
can be set per-architecture, but not explicitly how to do it for GCC_VERSION

Thanks for any help
Rolf Nilsson / Roni Music


_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Prev by Date: Drag and drop
  • Next by Date: Re: Drag and drop
  • Previous by thread: RE: g++ 4 & MACOSX_DEPLOYMENT_TARGET=10.2
  • Next by thread: Fwd: g++ 4 & MACOSX_DEPLOYMENT_TARGET=10.2
  • Index(es):
    • Date
    • Thread