Re: Xcode Linker
Re: Xcode Linker
- Subject: Re: Xcode Linker
- From: Shawn Erickson <email@hidden>
- Date: Wed, 20 May 2009 09:22:23 -0700
On Wed, May 20, 2009 at 9:18 AM, K. Chen <email@hidden> wrote:
> I ran into an interesting scenario where I have a static library used by two
> different apps. App 1 is built and run successfully but App 2 isn't, failing
> on a missing symbol from the static library. I used 'nm' to verify that
> symbol was indeed undefined. So my question is what causes this difference
> and how is possible for App 1 to be built with success (shouldn't the linker
> resolve all the symbols at build time)?
> Note that the library is made out of a set of C++ code and the apps are
> written in Objective-C.
As a guess...
Is the missing code an Objective-C class, etc.? If it is look at the
-ObjC linker option.
-Shawn
_______________________________________________
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