This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH]: Update minimum MPC version to 0.8
Kaveh R. Ghazi wrote:
From: "Basile STARYNKEVITCH" <basile@starynkevitch.net>
I noticed on my Debian/Sid - on which I just compiled MPC 0.8 with
default prefix, so it goes into /usr/local - that if there is an older
version of MPC in /usr it is taken even if an explicit
--with-mpc=/usr/local is passed to configure.
In other words, I had to remove the libmpc-dev package provided by
Debian.
(I assume you mean the /usr copy was used when you bootstrapped GCC.
Thanks for testing that.)
You're not explicit about what step it fails on. Configure? Compiling
some *.c file? Linking cc1? etc.
If my memory is not wrong, the linking of cc1 failed because functions like mpc_asin are undefined. This is related to
HAVE_mpc_arc which depends on the version of MPC.
Yes, the /usr/include/mpc.h was used, from Debian.
Maybe a bullet-proof configure.ac could check for mpc_asin.
Regards.
--
Basile STARYNKEVITCH http://starynkevitch.net/Basile/
email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359
8, rue de la Faiencerie, 92340 Bourg La Reine, France
*** opinions {are only mines, sont seulement les miennes} ***