[LLVMdev] Generate Executable to Mips

Rafael BP parizi.computacao at gmail.com
Thu Feb 23 16:18:04 PST 2012


This is true?
*clang*/*llvm* *cannot* produce *mips* object *code* or executable (yet).
from:
http://old.nabble.com/How-to-get-MIPS-from-clang-%2B-llvm---td32822926.html

On Thu, Feb 23, 2012 at 8:37 PM, Rafael BP <parizi.computacao at gmail.com>wrote:

> Hi,
> How can I generate executable to mips with llvm-gcc.
> I'm using Ilvm-2.9, X86PC and the following commands:
>
> llvm-gcc -emit-llvm hello.c -c -o hello.bc (OK)
> llc -march=mips hello.bc  -o hello.s (OK)
>
> gcc hello.s -o hello (does not work).
>
> Thanks,
>
> --
> *Rafael Parizi*
>
>
>
>


-- 
*Rafael Parizi*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120223/39aece01/attachment.html>


More information about the llvm-dev mailing list