Re: Symbol export issue
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