[LLVMdev] llvm-gcc

Nabila ABDESSAIED 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.
>
> Hi,
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
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110425/6281bafb/attachment.html>


More information about the llvm-dev mailing list