Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][tlug] Cannot compile gcc 4.3.1 using CentOS gcc 4.1.2
- Date: Tue, 2 Sep 2008 15:40:31 +0900
- From: "Nguyen Vu Hung" <vuhung16plus@example.com>
- Subject: [tlug] Cannot compile gcc 4.3.1 using CentOS gcc 4.1.2
Hi all,
I've tried to compilie gcc 4.3.1 from source code using ( default) CentOS 5.2 gcc 4.1.2.
It seems that the error I got is due to the default glibc headers in CentOS 5.2 is old[1]
I am not so sure but it is reported to gentoo[1]
[vuhung@example.com objdir]$ gcc -version
gcc: unrecognized option '-version'
gcc: no input files
[vuhung@example.com objdir]$ gcc --version
gcc (GCC) 4.1.2 20071124 (Red Hat 4.1.2-42)
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.
[vuhung@example.com objdir]$ cat ../vh-config.3.sh
LANG=en_US CC="ccache gcc" CXX="ccache gcc" ../configure --prefix=$HOME/opt/gcc-4.3.1 \
--with-gmp=/usr/local \
--with-mpfr=/usr/local \
--enable-languages=c,c++\
[vuhung@example.com objdir]$ uname -a
Linux aoclife.ddo.jp 2.6.18-53.1.13.el5 #1 SMP Tue Feb 12 13:01:45 EST 2008 i686 i686 i386 GNU/Linux
checking for i686-pc-linux-gnu-gcc... /home/vuhung/usr/src/gcc-4.3.1/gcc-4.3.1/objdir/./gcc/xgcc -B/home/vuhung/usr/src/gcc-4.3.1/gcc-4.3.1/objdir/./gcc/ -B/home/vuhung/opt/gcc-4.3.1/i686-pc-linux-gnu/bin/ -B/home/vuhung/opt/gcc-4.3.1/i686-pc-linux-gnu/lib/ -isystem /home/vuhung/opt/gcc-4.3.1/i686-pc-linux-gnu/include -isystem /home/vuhung/opt/gcc-4.3.1/i686-pc-linux-gnu/sys-include
checking for suffix of object files... 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/vuhung/usr/src/gcc-4.3.1/gcc-4.3.1/objdir'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/home/vuhung/usr/src/gcc-4.3.1/gcc-4.3.1/objdir'
make: *** [all] Error 2
[vuhung@example.com objdir]$ cat /etc/redhat-release
CentOS release 5 (Final)
[1] http://bugs.gentoo.org/227065
--
Best Regards,
Nguyen Hung Vu ( Nguyễn Vũ Hưng )
vuhung16plus{remove}@example.com , YIM: vuhung16 , Skype: vuhung16dg
Japan through an eye of a gaijin:
http://www.flickr.com/photos/vuhung/tags/fav/
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Permissions are like Rubik's cubes [SOLVED]
- Next by Date: Re: [tlug] Effect of AI and data processing rift on the Semantic Web
- Previous by thread: Re: [tlug] Effect of AI and data processing rift on the Semantic Web
- Next by thread: [tlug] Help battle test my site?
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links