• 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: Symbol export issue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Symbol export issue


  • Subject: Re: Symbol export issue
  • From: Mailing list subscriptions <email@hidden>
  • Date: Fri, 1 Sep 2006 10:31:26 +0200

I've run into this same issue myself. To my knowledge that's just the way things work. If you specify an exports file then the visibility attributes indicated in the source using pragmas are ignored. You could file an enhancement request with Apple to have the option added to the linker to allow in-source pragmas to override the contents of the exports file.

El 01/09/2006, a las 5:13, Jim Wintermyre escribió:

Forgot to mention a couple additional points:

- This is with XCode 2.4/gcc 4.0, and the setting of "Symbols Hidden by Default" doesn't appear to make a difference in this case.

- CodeWarrior supported this by setting Export Symbols in the PPC Mac OS X Linker target settings to "Use #pragma and ".exp" file".

Thanks,
Jim

I'm running into an issue with exporting symbols. I specify an exports file in my project (a framework). However, I want to export both the symbols in the exports file, and some additional symbols which are marked with __attribute__((visibility ("default"))) in the code. Unfortunately, it appears that if an exports file is specified, then ONLY those symbols in the exports file are ever exported.

Is there some setting I'm missing that will enable both methods of symbol export to work simultaneously? The way the code is currently set up, it is really inconvenient to try to do all of the symbol exporting with either just the exports file, or just the __attribute__ setting.

Thanks,
Jim



_______________________________________________ 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: Re: Trouble with Unix Paths and Applescript/MACTECH
  • Next by Date: Re: unable to include a .dylib into another BSD Dynamic Library project .
  • Previous by thread: Re: Trouble with Unix Paths and Applescript/MACTECH
  • Next by thread: Re: unable to include a .dylib into another BSD Dynamic Library project .
  • Index(es):
    • Date
    • Thread