[LLVMdev] Native Assembler for ARM

Misha Brukman brukman at gmail.com
Sat Sep 19 11:48:33 PDT 2009


On Sat, Sep 19, 2009 at 2:37 PM, Wayne Anderson <wanderon at comcast.net>wrote:

> I hope I'm not missing something obvious.  I'm trying to get a native
> binary for ARM from a .s file.  If I try to run "as -arch arm
> myFile.s" I get an error message indicating that no installed
> assembler exists for arm.
>
> as: assembler (/usr/bin/../libexec/gcc/darwin/arm/as or /usr/bin/../
> local/libexec/gcc/darwin/arm/as) for architecture arm not installed
> Installed assemblers are:
> /usr/bin/../libexec/gcc/darwin/ppc64/as for architecture ppc64
> /usr/bin/../libexec/gcc/darwin/x86_64/as for architecture x86_64
> /usr/bin/../libexec/gcc/darwin/ppc/as for architecture ppc
> /usr/bin/../libexec/gcc/darwin/i386/as for architecture i386
>
> Can anyone point me to where can I get the ARM assembler.  Or should
> I  be using something else.
>

You're trying to cross-compile, so you'll need to either download or build a
cross-assembler (from binutils).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090919/39c718a9/attachment.html>


More information about the llvm-dev mailing list