Re: Hiding symbols from other shared libraries linked to your shared library?
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: "Mark Bennett" <email@hidden>
- Date: Thu, 4 Jan 2007 10:33:39 -0800
Thanks Jonas. You are correct, and "my bad"!
On 1/4/07, Jonas Maebe <email@hidden> wrote:
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
_______________________________________________
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