• 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: How to not include function names in dylib?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to not include function names in dylib?


  • Subject: Re: How to not include function names in dylib?
  • From: email@hidden (Christian Schmitz)
  • Date: Thu, 24 Aug 2006 11:55:45 +0200
  • Organization: Monkeybread Software Germany

Steve Checkoway <email@hidden> wrote:

>
> strip -x libfoo.dylib
> should strip all nonglobal symbols from the library. See the strip(1)
> man page for more details on how to strip all but certain symbols.

Doesn't change the library.

> Looks like -s option might do what you want.

I tried that. No improvement.

> > PS: I tried with gcc and xcode and various options, but did not get it
> > done.
>
> It looks like ld also accepts -x (although you need to pass it as -
> Wl,-x if passing it to gcc) or -exported_symbols_list. See the ld(1)
> man page for details.

Well, no effect, too.

Still if I have a function foo in one of my c/cpp files and use it from
another c/cpp file I see this function name in the dylib.

Gruß
Christian

--
Around eleven thousand functions in one REALbasic plug-in.
The Monkeybread Software Realbasic Plugin v6.2.
<http://www.monkeybreadsoftware.de/realbasic/plugins.shtml>
 _______________________________________________
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

References: 
 >Re: How to not include function names in dylib? (From: Steve Checkoway <email@hidden>)

  • Prev by Date: Re: Xcode -replacing source files causes undefined symbols
  • Next by Date: Testing async code with OCUnit
  • Previous by thread: Re: How to not include function names in dylib?
  • Next by thread: Re: How to not include function names in dylib?
  • Index(es):
    • Date
    • Thread