public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* ==> build gcc failure: " ... cannot compute suffix ..."
@ 2010-03-25 21:41 Dieter Best
  2010-03-26  2:42 ` Ian Lance Taylor
  0 siblings, 1 reply; 8+ messages in thread
From: Dieter Best @ 2010-03-25 21:41 UTC (permalink / raw)
  To: gcc-help; +Cc: dieterbest

Hello,

I have the following system

[~]$ uname -a
Linux centos2.aurora.local 2.6.18-164.15.1.el5 #1 SMP Wed Mar 17
11:30:06 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux

and need to install a newer gcc

with yum I only get

[~]$ gcc --version
gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-46)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

I downloaded the sources for gcc 4.4.3 and did a ./configure && make bootstrap
but this doesn't go through, the end of the output is

checking whether ln -s works... yes
checking for x86_64-unknown-linux-gnu-gcc...
/home/Aurora/gcc/gcc-4.4.3/host-x86_64-unknown-linux-gnu/gcc/xgcc
-B/home/Aurora/gcc/gcc-4.4.3/host-x86_64-unknown-linux-gnu/gcc/
-B/usr/local/x86_64-unknown-linux-gnu/bin/
-B/usr/local/x86_64-unknown-linux-gnu/lib/ -isystem
/usr/local/x86_64-unknown-linux-gnu/include -isystem
/usr/local/x86_64-unknown-linux-gnu/sys-include
checking for suffix of object files... configure: error: in
`/home/Aurora/gcc/gcc-4.4.3/x86_64-unknown-linux-gnu/libgcc':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
make[2]: *** [configure-stage1-target-libgcc] Error 1
make[2]: Leaving directory `/home/Aurora/gcc/gcc-4.4.3'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/home/Aurora/gcc/gcc-4.4.3'
make: *** [bootstrap] Error 2


So I was wondering whether anybody has a pointer to how to build gcc
4.4.3 on such a system.

Thanks.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2010-03-26 18:29 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-25 21:41 ==> build gcc failure: " ... cannot compute suffix ..." Dieter Best
2010-03-26  2:42 ` Ian Lance Taylor
2010-03-26  4:14   ` Dieter Best
2010-03-26  6:48     ` Dieter Best
2010-03-26 12:26       ` Ian Lance Taylor
2010-03-26 20:32         ` Dieter Best
2010-03-26  7:55     ` Sven Eschenberg
2010-03-26  8:53       ` Dieter Best

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).