Re: Libraries switch binary to "ppc7400" how do I force it back to "ppc".
Re: Libraries switch binary to "ppc7400" how do I force it back to "ppc".
- Subject: Re: Libraries switch binary to "ppc7400" how do I force it back to "ppc".
- From: Conor <email@hidden>
- Date: Mon, 1 Dec 2008 19:30:34 +0100
Select the Project (top) icon in the Groups & Files list, and go to
the General tab. In Base SDK for All Configurations:, select 10.4.
Thank you for the advice. As I mentioned in my follow up post I do
link against Leopard for the SDK but the deployment target is 10.4. I
conditionally use Leopard functions and can't downgrade the root SDK.
These settings (complete non-default settings listed below) build for
"ppc i386", so there is no problem there. It's the two libraries from
eSellerate that cause the switch to "ppc7400".
David is correct that it's the deployment target that controls wether
the build is done for "ppc" or "ppc7400". If you target Leopard only
then "ppc7400" is used, which makes perfect sense. But that is not
what is happening here, something in the libraries is causing the
build to jump to "ppc7400". I assume it has to do with the fact that
the libraries contain 64 bit code. What I would like to know is why it
can't stay "ppc" when both libraries contain "ppc" architecture?
ARCHS = ppc i386
SDKROOT = macosx10.5
PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR = YES
MACOSX_DEPLOYMENT_TARGET = 10.4
COPY_PHASE_STRIP = YES
STRIP_INSTALLED_PRODUCT = YES
GCC_ENABLE_SYMBOL_SEPARATION = NO
PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR = NO
INSTALL_PATH = @executable_path/../Frameworks
COPY_PHASE_STRIP = YES
STRIP_INSTALLED_PRODUCT = YES
DYLIB_COMPATIBILITY_VERSION = 1
DYLIB_CURRENT_VERSION = 1
MACH_O_TYPE = mh_dylib
OTHER_LDFLAGS = -seg1addr 0xCFFFF000
PREBINDING = NO
FRAMEWORK_VERSION = A
INFOPLIST_FILE = Info.plist
PRODUCT_NAME = Pediabase
WRAPPER_EXTENSION = framework
FRAMEWORK_SEARCH_PATHS = $(SRCROOT) $(TARGET_BUILD_DIR)
LIBRARY_SEARCH_PATHS = "$(SRCROOT)"
GCC_ENABLE_FIX_AND_CONTINUE = NO
GCC_GENERATE_DEBUGGING_SYMBOLS = NO
GCC_MODEL_TUNING = G5
GCC_PRECOMPILE_PREFIX_HEADER = YES
GCC_PREFIX_HEADER = Pediabase_Prefix.pch
LIBRARY_STYLE = DYNAMIC
- Conor
_______________________________________________
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