• 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: Xcode Linker
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode Linker


  • Subject: Re: Xcode Linker
  • From: "K. Chen" <email@hidden>
  • Date: Wed, 20 May 2009 09:30:12 -0700

No, the missing symbol is a C++ class. The library is built with GCC 4 and the final executable is generated by Objective-C linker.

-KC

On Wed, May 20, 2009 at 9:22 AM, Shawn Erickson <email@hidden> wrote:
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

  • Follow-Ups:
    • Re: Xcode Linker
      • From: Chris Hanson <email@hidden>
References: 
 >Xcode Linker (From: "K. Chen" <email@hidden>)
 >Re: Xcode Linker (From: Shawn Erickson <email@hidden>)

  • Prev by Date: Re: Xcode Linker
  • Next by Date: Adding static libraries to an iPhone project
  • Previous by thread: Re: Xcode Linker
  • Next by thread: Re: Xcode Linker
  • Index(es):
    • Date
    • Thread