Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Symbol export issue



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:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.