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: Unexported Symbols File and _ppc & _i386?



Steve Checkoway wrote:
Dave Thorup wrote:
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?


I think you can add something like UNEXPORTED_SYMBOLS_FILE = $(UNEXPORTED_SYMBOLS_$(CURRENT_ARCH)) to use either the _ppc or the _i386 version.

It occurs to me that you could just do UNEXPORTED_SYMBOLS_FILE = Excluded_symbols_$(CURRENT_ARCH).exp instead and not have the other two.

- Steve
_______________________________________________
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
References: 
 >Invoking the name mangler to create an Exported Symbols File? (From: Dave Thorup <email@hidden>)
 >Unexported Symbols File and _ppc & _i386? (From: Dave Thorup <email@hidden>)
 >Re: Unexported Symbols File and _ppc & _i386? (From: Steve Checkoway <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.