nabila.abdessaied at gmail.com
Mon Apr 25 00:48:12 PDT 2011
2011/4/25 Duncan Sands <baldrick at free.fr>
> Hi Nabila,
> > 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.
I have solved the problem by downloding the llvm-gcc 4.2 binaries at the
llvm website,unzipped it and adding it to envirnment path
and no no problems
> Ciao, Duncan.
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev