Thank you,  I did try that and got the following error:<div><br></div><div><br></div><div><div>checking for library containing strerror... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.</div><div>make[1]: *** [configure-target-libiberty] Error 1</div>
<div>make[1]: Leaving directory `/home/ghoang/llvm-test/llvm-gcc-2.8-build'</div><div>make: *** [all] Error 2</div><div><br></div><div><br></div><div>I also tried adding --disable-libiberty but make would fail even earlier with the following error:</div>
<div><br></div><div><br></div><div><br></div><div><div>make[1]: Entering directory `/home/ghoang/llvm-test/llvm-gcc-2.8-build'</div><div>make[2]: Entering directory `/home/ghoang/llvm-test/llvm-gcc-2.8-build/fixincludes'</div>
<div>make[2]: *** No rule to make target `../libiberty/libiberty.a', needed by `full-stamp'.  Stop.</div><div>make[2]: Leaving directory `/home/ghoang/llvm-test/llvm-gcc-2.8-build/fixincludes'</div><div>make[1]: *** [all-fixincludes] Error 2</div>
<div>make[1]: Leaving directory `/home/ghoang/llvm-test/llvm-gcc-2.8-build'</div><div>make: *** [all] Error 2</div></div><div><br></div><div><br></div><div>Giang</div><div><br><div class="gmail_quote">On Sun, Jan 15, 2012 at 8:06 PM, Liu <span dir="ltr"><<a href="mailto:proljc@gmail.com">proljc@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">try --disable-libmudflap when you config llvm-gcc FE:)<br>
<div><div class="h5"><br>
On Mon, Jan 16, 2012 at 9:44 AM, Giang Hoang <<a href="mailto:ghoang84@gmail.com">ghoang84@gmail.com</a>> wrote:<br>
> Hi,<br>
><br>
> I am trying to build the front end llvm-gcc 2.8 on 32-bit Ubuntu 10.04,<br>
> using gcc 4.2.4.  I was able to configure and build llvm-2.8 in the<br>
> directory llvm-2.8-build.  Here is the command I used to configure llvm-gcc<br>
> build:<br>
><br>
> ../llvm-gcc-4.2-2.8.source/configure   --enable-checking --disable-bootstrap<br>
> --disable-multilib --enable-llvm=/home/ghoang/llvm-test/llvm-2.8-build/<br>
> --enable-languages=c<br>
><br>
> And this is the error that I got:<br>
><br>
> checking for i686-pc-linux-gnu-gcc...<br>
> /home/ghoang/llvm-test/llvm-gcc-2.8-build/./gcc/xgcc<br>
> -B/home/ghoang/llvm-test/llvm-gcc-2.8-build/./gcc/<br>
> -B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/<br>
> -isystem /usr/local/i686-pc-linux-gnu/include -isystem<br>
> /usr/local/i686-pc-linux-gnu/sys-include<br>
> checking for C compiler default output file name... configure: error: C<br>
> compiler cannot create executables<br>
> See `config.log' for more details.<br>
> make[1]: *** [configure-target-libmudflap] Error 1<br>
> make[1]: Leaving directory `/home/ghoang/llvm-test/llvm-gcc-2.8-build'<br>
> make: *** [all] Error 2<br>
><br>
> To avoid this error, I tried adding the flag --disable-libmudflap and I got<br>
> a new error:<br>
><br>
> checking for library containing strerror... configure: error: Link tests are<br>
> not allowed after GCC_NO_EXECUTABLES.<br>
> make[1]: *** [configure-target-libiberty] Error 1<br>
> make[1]: Leaving directory `/home/ghoang/llvm-test/llvm-gcc-2.8-build'<br>
> make: *** [all] Error 2<br>
><br>
> I also tried building version 2.9 but also encountered the same error.  It<br>
> seems that the setup of my system is missing some libraries.  Any<br>
> recommendation to solve these problems would be appreciated.<br>
><br>
> Thank you,<br>
><br>
> Giang<br>
><br>
><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>
</blockquote></div><br></div></div>