• 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: Hiding symbols from other shared libraries linked to your shared library?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Hiding symbols from other shared libraries linked to your shared library?


  • Subject: Re: Hiding symbols from other shared libraries linked to your shared library?
  • From: Jonas Maebe <email@hidden>
  • Date: Thu, 4 Jan 2007 10:30:58 +0100


On 4 jan 2007, at 00:19, Mark Bennett wrote:

I have a framework that when, on the command line, I execute

nm -g myframeworkbinary

I see symbols exported from Carbon and CLib in the output from nm. How
can I tell XCode (or gcc) to hide those symbols (i.e., those from
other libraries) and only export those in my library?

Are you sure those Carbon and libc symbols are exported by your library? Most likely, they'll appear as "U", which means that your library is importing them. See "man nm" for what the characters at the beginning of the line shown by nm mean.



Jonas _______________________________________________ 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: Hiding symbols from other shared libraries linked to your shared library?
      • From: "Mark Bennett" <email@hidden>
References: 
 >Hiding symbols from other shared libraries linked to your shared library? (From: "Mark Bennett" <email@hidden>)

  • Prev by Date: Re: Illegal declaration - but why?
  • Next by Date: Re: Hiding symbols from other shared libraries linked to your shared library?
  • Previous by thread: Hiding symbols from other shared libraries linked to your shared library?
  • Next by thread: Re: Hiding symbols from other shared libraries linked to your shared library?
  • Index(es):
    • Date
    • Thread