Re: How to compiler arm assembler .s source file with Xcode 4.2?
Re: How to compiler arm assembler .s source file with Xcode 4.2?
- Subject: Re: How to compiler arm assembler .s source file with Xcode 4.2?
- From: Fritz Anderson <email@hidden>
- Date: Wed, 09 Nov 2011 12:22:01 -0600
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 (email@hidden)
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:
This email sent to email@hidden