[LLVMdev] llvm-gcc as Alpha cross compiler
Giang Hoang
ghoang84 at gmail.com
Fri Oct 15 15:19:46 PDT 2010
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20101015/a952f1bb/attachment.html>
More information about the llvm-dev
mailing list