Unexported Symbols File and _ppc & _i386?
Unexported Symbols File and _ppc & _i386?
- Subject: Unexported Symbols File and _ppc & _i386?
- From: Dave Thorup <email@hidden>
- Date: Wed, 1 Feb 2006 17:22:22 -0500
OK, I think I've found something that will work for me (at least for
now). The "Unexported Symbols File" setting in Xcode will do what I
need it to do. However, there is a problem. It seems that the
symbols that are exported by GCC 3.3 and GCC 4.0 are different and I
cannot create an "Unexported Symbols File" that will work with both
compilers. I need GCC 3.3 for PPC and obviously GCC 4.0 for Intel.
I had hoped that I'd be able to do something like this:
UNEXPORTED_SYMBOLS_FILE_ppc = Excluded_Symbols_ppc.exp
UNEXPORTED_SYMBOLS_FILE_i386 = Excluded_Symbols_i386.exp
But this setting doesn't work with the _ppc & _i386 suffixes. So
what can I do to use different Unexported Symbols Files?
Thanks!
PS I'd still love to find a solution to my original problem.
_____________________________
Dave Thorup
Software Engineer
email@hidden
http://www.kuwan.net
HyperSpell - Check spelling in Mac OS X from any application.
On Feb 1, 2006, at 10:30 AM, Dave Thorup wrote:
I've tried googling on this a bit but so far I haven't found anything.
I'd like to make an Exported Symbols File to limit the symbols that
are exported by the libraries that I build. I need to do this with
GCC 3.3 so the nice new features in GCC 4 that make it easier to
limit exported symbols won't work for me. All of the symbols that
need to be exported by each library are contained in a single
header file - Library.h for example. So all I really need to do is
pass the Library.h file to the name mangler and have it spit out
the results that I could then save as my Exported Symbols File.
Something like this would be great:
"c++name_mangler Library.h"
Or:
"g++ --mangle-names Library.h"
Does anyone know how to do anything like this? Or does anyone know
of any other way to do this?
Thanks!
_______________________________________________
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