On 9 Nov 2011, at 1:49 AM, Don Quixote de la Mancha wrote:

> I need to find a way to associate .s sources with whatever Xcode 4.2
> supplies for an arm assembler.  I hunted around in my project's build
> settings but nothing leapt out at me.

Just glancing around; this is a line to pursue, rather than a solution…

Search the Build Rules tab in the Target editor for "ass." You get two nasm 
rules (from man, it appears nasm doesn't handle ARM) and one "System Assembler 
Rule," which points at "Default Compiler." From the context, it looks as though 
"Default Compiler" means gcc/clang.

What I'd do next is to add a rule that points at the "as" tool (I don't know 
whether you have to do any gymnastics to point at /Developer/usr/bin/as, but 
there is a /Developer/usr/libexec/as/arm support file). You may have to add a 
command-line switch to force ARM, or maybe as picks the architecture up from 
the source.

        — F

_______________________________________________

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