Problem with gcc-4.8.2 compile

GHui ugiwgh@gmail.com
Tue Oct 22 13:36:00 GMT 2013


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.


More information about the Gcc-help mailing list