Re: Weak linking and NULL pointers
Re: Weak linking and NULL pointers
- Subject: Re: Weak linking and NULL pointers
- From: Vincent Le Normand <email@hidden>
- Date: Wed, 28 Dec 2005 10:43:24 +0100
Some part of my application contains some ObjC++ / C++ code, so i had
toggling back to GCC 3.3. In fact, i remember that i had a problem
with a Framework that only contains OBJ-C or C code with GCC 4.0. I
just tried to switch to GCC 4.0, and it worked on Mac OS X 10.2.
I've also specified 10.4u sdk on ppc, even if it i do not see clearly
the difference on SDK 10.4u and current Mac OS (on Tiger) when you
compile for PPC.
However, theses changes doesn't seems to resolve my weak linking problem.
I've tried to reproduce my problem on a test application, copying most
build settings from my problematic framework, by my test app work as
expected :-(
On 12/27/05, Shawn Erickson <email@hidden> wrote:
> On 12/27/05, Vincent Le Normand <email@hidden> wrote:
> > Hi,
> >
> > My framework is build in order to be compatible with :
> >
> > On PPC : Mac OS X 10.2.8 -> Mac OS X 10.4.x
> > (Deployment target : 10.2 - SDK : current OS)
> >
> > On Intel : Mac OS X 10.4.x
> > (Deployment target : 10.4 - SDK : 10.4u)
> ...snip...
> > MACOSX_DEPLOYMENT_TARGET_i386 = 10.4
> > MACOSX_DEPLOYMENT_TARGET_ppc = 10.2
> > SDKROOT_i386 = /Developer/SDKs/MacOSX10.4u.sdk
>
> You likely should specify the 10.4u SDK for both PowerPC and Intel
> since you want to use features from 10.3 and 10.4 if available.
>
> > GCC_VERSION_ppc = 3.3
>
> I note you are toggling back to GCC 3.3 for PowerPC... are you using
> C++ or Objective-C++ in your code? It looks that you maybe but just
> making sure. If not you should be able to use GCC 4.0 for your PowerPC
> build.
>
> -Shawn
>
--
----
www.le-normand.net
_______________________________________________
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