This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Problem with gcc-4.8.2 compile
- From: Andrew Haley <aph at redhat dot com>
- To: GHui <ugiwgh at gmail dot com>
- Cc: gcc-help <gcc-help at gcc dot gnu dot org>
- Date: Tue, 22 Oct 2013 14:46:39 +0100
- Subject: Re: Problem with gcc-4.8.2 compile
- Authentication-results: sourceware.org; auth=none
- References: <tencent_1A2682357A452AFA000978AB at qq dot com> <5266365F dot 30306 at redhat dot com> <tencent_09B9702C3BE538927AB914BF at qq dot com> <526651D4 dot 3020202 at redhat dot com> <52665285 dot 2070401 at redhat dot com> <tencent_43D371E83A8EED71300F1003 at qq dot com>
On 10/22/2013 02:15 PM, GHui wrote:
> I compiled gcc with the following step
> 1) cd gcc-4.8.1
> 2) mkdir build
> 3) cd build
> 4)../configure --build=x86_64-redhat-linux --prefix=/usr/local/gcc-4.8.1 --enable-FEATURE=yes --with-gmp=/usr/local/gmp-4.3.2 --with-mpfr=/usr/local/mpfr-2.4.2 --with-mpc=/usr/local/mpc-0.8.1/ --enable-languages=c,c++ --disable-multilib
> 5) make
Please do not top-post on gcc-help or I will not help you.
I wonder if you may be missing some libraries. glibc-devel, perhaps?
"yum-builddep gcc" as root should install everything.
Enterprise Linux Server release 6.0 is old.
Andrew.