compiling for ppc only... no i386
compiling for ppc only... no i386
- Subject: compiling for ppc only... no i386
- From: Eric Smith <email@hidden>
- Date: Mon, 4 Dec 2006 21:56:58 -0800
All, I'm using Xcode 2.2.1, and Tiger 10.4.8. I have an application
that uses MySQL. I've been building this app under debug for many
months. Now I'm trying to do a release build. However, Xcode is
trying to build a universal binary, creating object files in both a
ppc and i386 directory. In my project settings, I have
"Architecture" value set to "ppc". That's the only entry. How do I
make Xcode compile for PPC only? The reason for the failure is that
I don't have any i386 MySQL code on my machine, so I get unresolved
symbols.
This doesn't happen when compiling under debug, and the differences
in customized settings is minor:
Debug:
SDK Path : /Developer/SDKs/MacOSX10.4u.sdk
Prebinding: (unchecked)
Mismatched Return Type : (checked)
Unused Variables : (checked)
Release has the same settings, plus:
Architectures : (ppc) (although I can delete this value so that
Architectures has no entries, and the result is the same
User Header Search Paths : /usr/local/mysql/include
Library Search Paths : /usr/local/mysql/lib
Mac OS X Deployment Target : Mac OS X 10.4
Instruction Scheduling : None
How do you prevent Xcode from attempting to make an i386 exe?
Thanks,
Eric
_______________________________________________
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