• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Compile file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


 --
Fritz Anderson -- http://www.manoverboard.org/
Consulting Programmer -- http://resume.manoverboard.org/
Step into Xcode, Now Available -- http://six.manoverboard.org/


 _______________________________________________
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

  • Follow-Ups:
    • Re: Compile file
      • From: "Jonathan Johnson" <email@hidden>
References: 
 >RE: Compile file (From: "David Litwin" <email@hidden>)

  • Prev by Date: Re: No such file or directory
  • Next by Date: Re: Compile file
  • Previous by thread: RE: Compile file
  • Next by thread: Re: Compile file
  • Index(es):
    • Date
    • Thread