Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: g++ 4 & MACOSX_DEPLOYMENT_TARGET=10.2



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: http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.