[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GUB and mpfr/mpc

From: Phil Holmes
Subject: Re: GUB and mpfr/mpc
Date: Sat, 25 Oct 2014 15:46:48 +0100

----- Original Message ----- From: "Masamichi HOSODA" <address@hidden>
To: <address@hidden>
Cc: <address@hidden>; <address@hidden>
Sent: Saturday, October 25, 2014 2:58 PM
Subject: Re: GUB and mpfr/mpc

----- Original Message ----- From: "Masamichi HOSODA" <address@hidden>
To: <address@hidden>
Sent: Thursday, October 23, 2014 12:07 PM
Subject: Re: GUB and mpfr/mpc

I'm trying to update GCC on GUB and have a new virtual machine with
updated versions.  I was having problems getting MPFR to build, but it
looks like I'ev fixed that with the new VM.  However, it looks to me
GCC 4.8.2 has a new dependency on MPC that older versions did not:
appears no mention of MPC as a package in the current version of GUB.
most recent failure says this:

checking for the correct version of gmp.h... buggy but acceptable
checking for the correct version of mpfr.h... yes
checking for the correct version of mpc.h... no
configure: error: Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC

So it looks like we need to add a dependency on MPC.  Problem is, I
have a clue how to do this.  I could try some stuff, but can anyone
help with how this dependency should be added to GUB?


Did the error occur, while building cross/gcc?
If that is right, GMP/MPFR/MPC may be required for not GUB but host

The error is in the linux-86/log/cross/gcc-core.log file, so I assume
the answer is yes.  However, my understanding is that the only package
that should need separately installing on plain Ubuntu/linux is git:
the rest should be downloaded and built by make bootstrap.

Phil Holmes

cross/gcc-core is built by host OS native gcc.
Would you try the following commands on your Ubuntu?

sudo apt-get update
sudo apt-get install libgmp-dev
sudo apt-get install libmpfr-dev
sudo apt-get install libmpc-dev

In my environment, I have succeeded in building of linux-x86::cross/gcc-core.
However, I have still failed in building of linux-x86::glibc-core.

apt-get update ran fine.  However, I get this for libgmp:

address@hidden:~/gub$ sudo apt-get install libgmp-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package libgmp-dev

Phil Holmes

reply via email to

[Prev in Thread] Current Thread [Next in Thread]