[LLVMdev] What's Going Wrong with GCC 4.6.3 + dragonegg 3.1

Duncan Sands duncan.sands at gmail.com
Mon Jun 18 06:08:21 PDT 2012


Hi Albert,

> It would really be nice to have gcc -flto -c just work, but I think that
> it's not possible right now because gcc needs to be patched up to
> support it, right?

correct.  One nasty trick would be to put a fake linker in the path that uses
llvm-as if it sees LLVM IR, and passes things on to the real linker otherwise,
but I don't like it.

Ciao, Duncan.



More information about the llvm-dev mailing list