[LLVMdev] llvm-gcc-4.2-2.9 compilation problems

Eli Friedman eli.friedman at gmail.com
Fri Jan 27 13:21:40 PST 2012


On Fri, Jan 27, 2012 at 1:09 PM, Bruno Carvalho
<brunocarvalhofarias at gmail.com> wrote:
> Folks,
>
> I'm trying to compile the llvm-gcc-4.2-29 frontend at Ubunt 10.04 64bits
> following the steps described at README.LLVM conform the llvm/docs page.
> My commands:
>
> mkdir llvm-gcc-build
> cd llvm-gcc-build/
> ../llvm-gcc-4.2-2.9.source/configure --disable-multilib
> --program-prefix=llvm-
> --enable-llvm=/home/bruno/projects/llvm/src/llvm-3.0.src/
> --enable-languages=c,c++
> make ENABLE_OPTIMIZED=1

You have to use matching versions of llvm and llvm-gcc.

-Eli



More information about the llvm-dev mailing list