On 8 Nov 2011, at 11:49 PM, Don Quixote de la Mancha wrote:
> I can see that Xcode is indeed calling CompileC on my .s source, which
> ultimately calls clang.  Clang is the LLVM compiler's front end for
> the "C-Like" languages: C, Objective-C and C++.

A quick test on the command-line shows that the clang frontend acts like 
traditional cc/gcc and accepts assembly in .s or .S files. (Sometimes, .S files 
get preprocessed and .s files don't, but I don't think clang is making that 
distinction.) Clang also accepts the "-x language" option, so that "-x 
assembler" will force a given file to be treated as assembly regardless of its 
file extension. Try test-assembling your file on the command line with clang, 
and if that works, maybe try to get Xcode to apply the "-x assembler" option?


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to