• 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
-exported_symbols_list ist ignored when building library
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

-exported_symbols_list ist ignored when building library


  • Subject: -exported_symbols_list ist ignored when building library
  • From: Alexander Heusel <email@hidden>
  • Date: Wed, 17 May 2006 16:45:08 +0200

Hi all,

currently I am building a C-dylib to import some ASCII-Files with flex and bison.
To adjust which symbols are exported I am using the - export_symbols_list flag, e.g.


gcc -dynamiclib -ll -ly -exported_symbols_list ExportedSymbols.def - single_module -o thelib.dylib objectone.o objecttwo.o objectthree.o Parser.tab.o lex.yy.o

However as otool -tvV shows the symbols which are NOT on the list still exist in the resulting lib-file.
My symbol-list looks like that:


...
_MySymbolOne
_MySymbolTwo
_MySymbolThree
...

Any hints or pointers to the corresponding documentation would be great.

Regards,


Alexander _______________________________________________ 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
  • Prev by Date: dereferencing type-punned pointer will break strict-aliasing rules
  • Next by Date: Re: dereferencing type-punned pointer will break strict-aliasing rules
  • Previous by thread: Re: dereferencing type-punned pointer will break strict-aliasing rules
  • Next by thread: dead-code stripping, pass two...
  • Index(es):
    • Date
    • Thread