Re: Compile file
Re: Compile file
- Subject: Re: Compile file
- From: Fritz Anderson <email@hidden>
- Date: Tue, 21 Feb 2006 20:41:11 -0600
On 21 Feb 2006, at 6:11 PM, David Litwin wrote: With a full build it does get built. It is solely a problem with cmd-K.
Dave From: Fritz Anderson [mailto:email@hidden] When I us the Compile (command K) to force a rebuild of a file, XCode seems to build only the first architecture in its list of architectures. For Debug (generally only the native arch) this is no problem, but when I’m working on a file that does different things for each architecture, I’d like to be able to force it to rebuild both. I'm interested to know: Does the missing architecture get built when you do a full build? I wonder if the idea behind cmd-K is for "check compiles," with only incidental connection to contributing to the final product. If that is so, (1) one pass of the compiler should be enough, and (2) the missing architecture should get built in the (Release) build process. If (2) doesn't happen, I'd think it was a bug. Then I am confused. What do you expect to get out of the double compilation?
Under the Debug configuration, cross-compilation does you no good, as you'll only be able to ZeroLink and debug in your native architecture.
Under the Release configuration, cross-compilation does you no good in a check compilation -- it's the same parser, so why run it twice? If you want the results of the compilation to take effect in the executable, then you have to do a full build anyway to link the application, so you pick up the other architecture's compilation automatically.
-- F
|
_______________________________________________
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