This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problem with gcc-4.8.2 compile


Sorry, I misunderstand top-post. 
Did you mean that I shouldn't cc to gcc-help@gcc.gnu.org, or others?

To execute "rpm -qf /lib64/libc.so" to find which pkg it belong to.
In my system(el6).
The /usr/lib64/libc.so belong to glibc-devel-2.12.
The /lib64/libc.so belong to none.
So, I think someone made it.
Thanks for you help.

GHui

------------------ Original ------------------
From:  "Andrew Haley";<aph@redhat.com>;
Date:  Tue, Oct 22, 2013 09:46 PM
To:  "GHui"<ugiwgh@gmail.com>; 
Cc:  "gcc-help"<gcc-help@gcc.gnu.org>; 
Subject:  Re: Problem with gcc-4.8.2 compile



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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]