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: "GHui" <ugiwgh at gmail dot com>
- To: "Andrew Haley" <aph at redhat dot com>
- Cc: "gcc-help" <gcc-help at gcc dot gnu dot org>
- Date: Tue, 22 Oct 2013 21:36:39 +0800
- Subject: Re: Problem with gcc-4.8.2 compile
- Authentication-results: sourceware.org; auth=none
Thanks for your help.
Maybe someone make a soft link /lib64/libc.so.
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
GHui
------------------ Original ------------------
From: "Andrew Haley";<aph@redhat.com>;
Date: Tue, Oct 22, 2013 06:25 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 11:22 AM, Andrew Haley wrote:
> On 10/22/2013 10:29 AM, GHui wrote:
>> Thanks for you help.
>> I have installed gcc-4.4.4-13.el6.x86_64.
>> I compiled it under the Red Hat Enterprise Linux Server release 6.0.
>> It seems to find libc.so in /lib64, but it should in /usr/lib64, because of /usr/lib64/libc_nonshared.a.
>> I don't known how to change the linker to open /usr/lib64/libc.so.
>
> Please don't top-post on gcc-help.
>
> I'll try it now myself and see what happens.
Please tell us your configure and make lines.
Andrew.