Hi,<div><br></div><div>I am trying to build the front end llvm-gcc 2.8 on 32-bit Ubuntu 10.04, using gcc 4.2.4.  I was able to configure and build llvm-2.8 in the directory llvm-2.8-build.  Here is the command I used to configure llvm-gcc build:</div>
<div><br></div><div>../llvm-gcc-4.2-2.8.source/configure   --enable-checking --disable-bootstrap --disable-multilib --enable-llvm=/home/ghoang/llvm-test/llvm-2.8-build/ --enable-languages=c</div><div><br></div><div>And this is the error that I got:</div>
<div><br></div><div><div><div>checking for i686-pc-linux-gnu-gcc... /home/ghoang/llvm-test/llvm-gcc-2.8-build/./gcc/xgcc -B/home/ghoang/llvm-test/llvm-gcc-2.8-build/./gcc/ -B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/ -isystem /usr/local/i686-pc-linux-gnu/include -isystem /usr/local/i686-pc-linux-gnu/sys-include </div>
<div>checking for C compiler default output file name... configure: error: C compiler cannot create executables</div><div>See `config.log' for more details.</div><div>make[1]: *** [configure-target-libmudflap] 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></div><div><br></div><div>To avoid this error, I tried adding the flag --disable-libmudflap and I got a new error:</div>
<div><div><br></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><div><br></div><div>I also tried building version 2.9 but also encountered the same error.  It seems that the setup of my system is missing some libraries.  Any recommendation to solve these problems would be appreciated.</div>
<div><br></div><div>Thank you,</div><div><br></div><div>Giang</div><div><br></div><div><br></div><div><br></div>