baldrick at free.fr
Mon Apr 25 00:15:31 PDT 2011
> 1- I have installed llvm-gcc 4.2 and llvm 2.8 with the synaptic
> package manager(ubuntu 10.10)
> every time i do this commande:
> llvm-gcc -O3 -emit-llvm hello.c -c -o hello.bc
> it shows to me i should install llvm-gcc4.5
> when i have installed llvm-gcc 4.5 i get all the times a wrong bc file
> as output, because when i try to execute it with lli it says to me
> invalid signature.
llvm-gcc4.5 is a wrapper script that makes use of the dragonegg plugin
for gcc-4.5. As far as I know the script does not recognize -emit-llvm;
use -flto instead.
More information about the llvm-dev