[LLVMdev] Generate Executable to Mips

Rafael BP parizi.computacao at gmail.com
Thu Feb 23 14:37:28 PST 2012


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*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120223/f011ec3b/attachment.html>


More information about the llvm-dev mailing list