Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compilation Phase Missed in Xcode 2.3



On 30 May 2006, at 12:43 PM, Jonas Maebe wrote:
On 30 May 2006, at 19:34, Fritz Anderson wrote:

The transcript shows the application resources are copied, and the PCH is compiled. No error appears in the transcript, and Xcode's status display shows "Build succeeded."

The linkage phase does not happen, but I assume this is a cascade from the error in the source-files phase.

In my experience, this problem occurred also in previous XCode versions if none of your source files was handled by a built-in rule. Since it worked for you, it seems it was actually the fact that my files weren't compiled by a known compiler (but by a script).

I've examined the Rules pane of the target info window and verified that the only C rule in it is the System C Rule, set to GCC System Version (4.0). Adding a custom C-file rule, specifying GCC 4.0 directly, has no effect.


Anyway, I worked around this problem in previous XCode versions by adding a dummy (empty) assembler file to my project (e.g. dummy.s). Make sure it's among the files to be compiled, and XCode will go into the linking phase (at least it did in past, I haven't tested yet whether this trick still works under 2.3).

Adding an empty dummy.s file does not change the fact that no source files (including dummy.s) are compiled.


	-- F

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden
References: 
 >Compilation Phase Missed in Xcode 2.3 (From: Fritz Anderson <email@hidden>)
 >Re: Compilation Phase Missed in Xcode 2.3 (From: Jonas Maebe <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.