[llvm-dev] C compiler cannot create executables

Awanish via llvm-dev llvm-dev at lists.llvm.org
Sun Sep 18 03:54:50 PDT 2016

I am trying to build httpd.bc and for this I am configuring as

./configure --disable-shared  CC="_/*llvm-gcc -flto -use-gold-plugin 
-Wl,-plugin-opt=also-emit-llvm*/_" CFLAGS="-g" RANLIB="ar --plugin 
-s" AR_FLAGS="--plugin 

but I am getting an error which states that

checking for gcc... llvm-gcc -flto -use-gold-plugin 
checking whether the C compiler works... no
configure: error: in 
configure: error: C compiler cannot create executables

I got reference for configuring like this from 
Can anyone please tell me where I am doing wrong and what is correct 
procedure for generating .bc for for httpd which can be run on klee?

Thanks and Regards
Awanish Pandey
IIT Kanpur

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160918/15f2b37f/attachment.html>

More information about the llvm-dev mailing list