How to make working binary using llvm

Posted by prosseek on Stack Overflow See other posts from Stack Overflow or by prosseek
Published on 2010-06-17T20:25:15Z Indexed on 2010/06/17 20:43 UTC
Read the original article Hit count: 449

Filed under:

I want to get the working binary out of llvm, using step by step method. I'm working on Snow Leopard.

  • llvm-gcc h.c -emit-llvm -S -o hi.ll -> hi.ll
  • llvm-as hi.ll -> hi.bc (jit binary?)
  • llc hi.bc -> hi.s (assembly code)

How can I get the binary to run on Mac OS X with hi.bc?

© Stack Overflow or respective owner

Related posts about llvm