http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52007
Bug #: 52007 Summary: configure: error: installation or configuration problem: C compiler cannot create executables Classification: Unclassified Product: gcc Version: 4.2.4 Status: UNCONFIRMED Severity: critical Priority: P3 Component: c AssignedTo: unassig...@gcc.gnu.org ReportedBy: chilakaraviku...@yahoo.co.in While installing gcc on a IA64 rhel5 box, I am facing the below problem. /root/gcc/gcc-4.2.4 [root@colt102d gcc-4.2.4]# CC=gcc [root@colt102d gcc-4.2.4]# export CC [root@colt102d gcc-4.2.4]# ./configure loading cache ./config.cache checking host system type... ia64-unknown-linux-gnu checking target system type... ia64-unknown-linux-gnu checking build system type... ia64-unknown-linux-gnu checking for a BSD compatible install... /usr/bin/install -c checking whether ln works... yes checking whether ln -s works... yes checking for gcc... gcc checking whether the C compiler (gcc ) works... no configure: error: installation or configuration problem: C compiler cannot create executables. [root@colt102d gcc-4.2.4]# uname -m ia64 [root@colt102d gcc-4.2.4]# uname -a Linux colt102d.fchst.usa.hp.com 2.6.18-274.el5 #1 SMP Fri Jul 8 17:41:07 EDT 2011 ia64 ia64 ia64 GNU/Linux Thanks Ravi