[LLVMdev] Error while compiling mysql using LLVM-gold
jingl1345 at gmail.com
Sat Jun 5 20:38:23 PDT 2010
I am trying to compile mysql using LLVM and I am found the following
"If you just want to use *LLVM*'s link-time optimizations, you will need to
use the libLTO library with your linker. Your linker, in turn, must be
able to support plugins (like the gold linker, for example). For
directions on how to set up libLTO, see
However, I got
checking for gcc... llvm-gcc -use-gold-plugin
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
when I following those instructions.
Any experience on compiling autotooled projects using LLVM is welcome.
Some online resource on this topic will be great. I am new to this list,
and I guess this topic may be discussed before.
More information about the llvm-dev