Re: ARCHS_i386 not working
Re: ARCHS_i386 not working
- Subject: Re: ARCHS_i386 not working
- From: Rua Haszard Morris <email@hidden>
- Date: Wed, 11 Oct 2006 15:54:03 +1300
Kind of not possible - the ARCHS setting controls whether a build for
a specific arch is built (as you're probably aware).
The _i386 trailing syntax on build settings means "when targeting
i386" as opposed to "when host development machine is running on
i386" so you can't use it to tell Xcode to do different things
depending on ARCH.
However, there is an environment variable $(CURRENT_ARCH) which may
help. Perhaps if you set ARCHS = $(CURRENT_ARCH) ppc it'll do what
you want (or maybe it'll do the ppc build twice on ppc host!).
The "correct" way to set this up would probably be to have two
targets, all sharing the same settings (from the project or an
xcconfig file), with ARCHS set at the target (to be ppc/ppc i386). So
people developing on intel machines would work on the i386 target,
and those on ppc would use the ppc target. Or you could borrow Debug/
release for this purpose as someone else just suggested...
Have fun
Rua HM.
On 11/10/2006, at 2:43 PM, Walter wrote:
No that's not a typo!
My company uses a PPC machine to build the production version of the
software, which currently needs to be PPC only. ARCHS = PPC
For development machines that happen to be Intel processors, I'd
like to
build universal binaries. ARCHS = i386 ppc
I know it sounds weird and as soon as Adobe InDesign runs i386
natively,
I'll be able to ship universal binaries.
So I really do want to set:
ARCHS_i386 = i386 ppc
ARCHS_ppc = ppc
I understand its probably not possible, but I figured I'd ask...
Walter
On 10/10/06 9:21 PM, "Justin C. Walker" <email@hidden> wrote:
On Oct 10, 2006, at 18:12 , Walter wrote:
I'd like to build universal binaries from my development machine
(Intel
processor). For our current released versions, the builds must be
ppc only.
I tried setting "ARCHS_i386 = i386 ppc", but on the Intel machine
it doesn't
Is "ARCHS_i386" a typo? I'd think you want to use "ARCHS" there
(which need not be the correct answer to your question :-}).
Justin
--
Justin C. Walker, Curmudgeon-At-Large, Director
Institute for the Enhancement of the Director's Income
--------
The path of least resistance:
it's not just for electricity any more.
--------
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40optonline.net
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40adinstruments.com
This email sent to email@hidden
_______________________________________________
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