GCC 5.3.0 in Rhel7

Jonathan Wakely jwakely.gcc@gmail.com
Thu Feb 11 11:16:00 GMT 2016


Resending without the silly "confidentiality notice" at the end that
the mailer daemon rejects. Your emails are not reaching the mailing
list because of that silly notice, please use a different email
account if necessary, rather than CCing me personally.


On 11 February 2016 at 11:08, Jonathan Wakely wrote:
> On 11 February 2016 at 11:00,  <abdul.p78@wipro.com> wrote:
>> Thanks for your mail !
>>
>> I have installed the 3 mandatory and needed packages for GCC and here is the configure command combination I given in the Rhel7 server.
>>
>> [root@euca-10-254-32-210 dummy]# rpm -qa | grep mpc
>> libmpc-1.0.1-3.el7.x86_64
>> libmpc-devel-1.0.1-3.el7.x86_64
>> [root@euca-10-254-32-210 dummy]# rpm -qa | grep gmp
>> gmp-6.0.0-12.el7_1.x86_64
>> gmp-devel-6.0.0-12.el7_1.x86_64
>> [root@euca-10-254-32-210 dummy]# rpm -qa | grep mpfr
>> mpfr-devel-3.1.1-4.el7.x86_64
>> mpfr-3.1.1-4.el7.x86_64
>
> Then that should be OK.
>
>> [root@euca-10-254-32-210 dummy]# ../gcc-5.3.0/configure --prefix=/opt/gcc/x86_64/5.3.0.test/ --enable-shared --enable-bootstrap --enable-languages=c,c++ --enable-threads=posix --with-system-zlib --disable-nls --enable-libssp --enable-lto --with-gnu-ld --verbose --disable-libsanitizer --disable-multilib --target=x86_64-redhat-linux --build=x86_64-redhat-linux --host=x86_64-redhat-linux
>>
>> I tried to download the correct path of packages ( MPC, GMP, MPFR) with the below command and it is  not getting download and fails due to some reason.
>> ==================================================================================================
>> [root@euca-10-254-32-210 gcc-5.3.0]# ./contrib/download_prerequisites
>> --2016-02-11 12:57:36--  ftp://gcc.gnu.org/pub/gcc/infrastructure/mpfr-2.4.2.tar.bz2
>>            => âmpfr-2.4.2.tar.bz2â
>> Resolving gcc.gnu.org (gcc.gnu.org)... 209.132.180.131
>> Connecting to gcc.gnu.org (gcc.gnu.org)|209.132.180.131|:21... ^C
>> [root@euca-10-254-32-210 gcc-5.3.0]#
>> =================================================================================================
>
> You don't need that if you've installed the RPMs (as it explains at
> https://gcc.gnu.org/wiki/InstallingGCC).
>
> See https://gcc.gnu.org/wiki/FAQ#configure_suffix for how to debug the
> configure error.
>
>
>> The information contained in this electronic message [blah blah blah]
>
> Please don't send meaningless notices like this to this list. Anything
> sent to a public mailing list cannot be "Intended for the exclusive
> use of the addressee" and ou cannot prevent copies being made and
> disseminated.



More information about the Gcc-help mailing list