[LLVMdev] -emit-llvm on ubuntu is broken

Eric Christopher
Tue, 22 Mar 2011 01:44:39 -0000

On Mar 21, 2011, at 6:36 PM, stackunderflow wrote:

>
> I try to generate a human readable .ll file on Linux. I installed llvm-gcc
> but as I see it can generate only assembly code (-S option). Is there any
> way to get something like what is generated by llvm online compiler?
>
> That's what I get with llvm-gcc -S -emit-llvm hello.c on Ubuntu 10.10:

llvm-gcc -v ?

-eric