[LLVMdev] -emit-llvm on ubuntu is broken

Eric Christopher echristo at apple.com
Tue Mar 22 01:31:53 PDT 2011


On Mar 22, 2011, at 1:30 AM, Duncan Sands wrote:

> Hi Eric,
> 
>> Looks like something wonky with DragonEgg.
> 
> you need to use -fplugin-arg-dragonegg-emit-ir or -flto with dragonegg,
> not -emit-llvm.  Also, you currently have to use -S (getting human readable
> IR) rather than -c because with -c gcc will run cc1 with -S (getting human
> readable IR) then pass the result to the system assembler which of course
> barfs.  This is documented on the web-page and in the README.

Interesting. Makes complete sense.

-eric



More information about the llvm-dev mailing list