Help : Compiling for multiple architectures, is ppc970 valid ?
Help : Compiling for multiple architectures, is ppc970 valid ?
- Subject: Help : Compiling for multiple architectures, is ppc970 valid ?
- From: Peter <email@hidden>
- Date: Thu, 13 Apr 2006 17:16:43 +0800
All the while I thought there can be 3 settings as in Apple's
document, ppc, ppc64 and i386 at XCode Architectures settings.
Recently I found out that about ppc970 setting at the end of an XCode
compile session.
setenv VALID_ARCHS "m68k i386 sparc hppa ppc ppc7400 ppc970 ppc64"
My intention is to build 3 binaries into 1, that is generic PowerPC,
PowerPC G5 and Intel. All binaries are targeted for 32 bit. Since
there is no additional documentations, I hope some one can answer my
questions,
1) is ppc970 setting valid under XCode 2.1 ?
2) I would like to put extra settings for compiling G5 code,
-mcpu=970 -mpowerpc64 -mpowerpc-gpopt -force_cpusubtype_ALL -DCPUG5
where can I put this settings or it is obsolete ?
3) When the binary is launch, how does the program process knows
which binary it is running (ppc, ppc970 or i386) ?
I want to put a text on the about box showing which binary it is
running.
4) Does this means I can only use 10.4 sdk (not 10.3.9 or lower) and
final binary must run on OS 10.4.x ?
Thanks for answering my questions.
Peter.
_______________________________________________
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