Hello, 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. Thanks, Wayne ______________________ Wayne Anderson wanderon at comcast.net
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>
If you want Darwin arm assembler, then you need to register and download the iphone sdk. Evan On Sep 19, 2009, at 11:48 AM, Misha Brukman wrote:> 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). > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090920/23e255f0/attachment.html>
Maybe Matching Threads
- [LLVMdev] Native Assembler for ARM
- [LLVMdev] Native Assembler for ARM
- [LLVMdev] Inserting an assembly instruction in the calling sequence of the powerpc target
- [LLVMdev] Inserting an assembly instruction in the calling sequence of the powerpc target
- [LLVMdev] MCJIT problem on native 'ppc64' target