==> build gcc failure: " ... cannot compute suffix ..."

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux