Thanks Andrew.  I would like to clarify what I tried to do.  I want to use llvm-gcc on x86 linux to compile C programs into Alpha binary.<br><br>Giang<br><br><div class="gmail_quote">On Fri, Oct 15, 2010 at 5:41 PM, Andrew Lenharth <span dir="ltr"><<a href="mailto:andrewl@lenharth.org">andrewl@lenharth.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">llvm-gcc doesn't not compile *on* alpha (128bit fp and int issues).  I<br>
haven't tried it as a cross compiler.<br>
<br>
Andrew<br>
<div><div></div><div class="h5"><br>
On Fri, Oct 15, 2010 at 5:19 PM, Giang Hoang <<a href="mailto:ghoang84@gmail.com">ghoang84@gmail.com</a>> wrote:<br>
> Hi,<br>
><br>
> I wonder if anyone has been able to successfully build llvm-gcc as an Alpha<br>
> cross compiler?<br>
><br>
> I have tried many different combinations of flags and gcc compiler, but have<br>
> not been able to build successfully.  Currently, this is the command that I<br>
> used to build on Ubuntu 10.10:<br>
><br>
> ../llvm-gcc-4.2-2.8.source/configure<br>
> --enable-llvm=/home/ghoang/research/llvm/llvm-objects<br>
> --enable-languages=c,c++ --disable-boostrap --disable-multilib<br>
> --disable-threads --target=alpha-linux<br>
> --prefix=/home/ghoang/research/llvm/llvm-gcc-bin<br>
> --with-as=/opt/crosstool/gcc-4.2.4-glibc-2.3.6/alpha-unknown-linux-gnu/alpha-unknown-linux-gnu/bin/as<br>
> --with-ld=/opt/crosstool/gcc-4.2.4-glibc-2.3.6/alpha-unknown-linux-gnu/alpha-unknown-linux-gnu/bin/ld<br>
> --with-sysroot=/opt/crosstool/gcc-4.2.4-glibc-2.3.6/alpha-unknown-linux-gnu/alpha-unknown-linux-gnu<br>
><br>
> where '/opt/crosstool/gcc-4.2.4-glibc-2.3.6' is the Alpha gcc cross compiler<br>
> that I have built previously (I don't quite understand why I would need<br>
> another cross compiler to build this llvm cross compiler, but that seems to<br>
> be the suggestion from other posts in the mailing list.)<br>
><br>
> Any help would be greatly appreciated.<br>
><br>
> Giang Hoang<br>
><br>
><br>
</div></div>> _______________________________________________<br>
> LLVM Developers mailing list<br>
> <a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
><br>
><br>
</blockquote></div><br>