[LLVMdev] llvm-gcc as Alpha cross compiler

Andrew Lenharth andrewl at lenharth.org
Fri Oct 15 15:41:03 PDT 2010


llvm-gcc doesn't not compile *on* alpha (128bit fp and int issues).  I
haven't tried it as a cross compiler.

Andrew

On Fri, Oct 15, 2010 at 5:19 PM, Giang Hoang <ghoang84 at gmail.com> wrote:
> Hi,
>
> I wonder if anyone has been able to successfully build llvm-gcc as an Alpha
> cross compiler?
>
> I have tried many different combinations of flags and gcc compiler, but have
> not been able to build successfully.  Currently, this is the command that I
> used to build on Ubuntu 10.10:
>
> ../llvm-gcc-4.2-2.8.source/configure
> --enable-llvm=/home/ghoang/research/llvm/llvm-objects
> --enable-languages=c,c++ --disable-boostrap --disable-multilib
> --disable-threads --target=alpha-linux
> --prefix=/home/ghoang/research/llvm/llvm-gcc-bin
> --with-as=/opt/crosstool/gcc-4.2.4-glibc-2.3.6/alpha-unknown-linux-gnu/alpha-unknown-linux-gnu/bin/as
> --with-ld=/opt/crosstool/gcc-4.2.4-glibc-2.3.6/alpha-unknown-linux-gnu/alpha-unknown-linux-gnu/bin/ld
> --with-sysroot=/opt/crosstool/gcc-4.2.4-glibc-2.3.6/alpha-unknown-linux-gnu/alpha-unknown-linux-gnu
>
> where '/opt/crosstool/gcc-4.2.4-glibc-2.3.6' is the Alpha gcc cross compiler
> that I have built previously (I don't quite understand why I would need
> another cross compiler to build this llvm cross compiler, but that seems to
> be the suggestion from other posts in the mailing list.)
>
> Any help would be greatly appreciated.
>
> Giang Hoang
>
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
>




More information about the llvm-dev mailing list