Kaveh R. GHAZI wrote:
On Wed, 13 May 2009, Mark Mitchell wrote:
Kaveh R. GHAZI wrote:
1. Consider MPC as an optional library now, install all the code and make
it hard-required only when all the complex math functions are made
available in a future released version of the library or sometime in
stage3, whichever is first.
I think this is the best option.
Please make sure to open a P1 PR for 4.5.0 indicating that we should
throw the hard-requirement switch.
The last patch to enable use of MPC in GCC was reviewed today and
installed. I'm sure other updates will come, but the base functionality
is now there.
I've opened PR 40302 as you requested (and assigned myself).
I have noticed that mpc is not automatically detected even when
installed in the standard library path (with gcc-4.5-20090604). This
means that building with mpc always requires using the
--with-mpc-lib=/usr/lib flag.
This is fixed by adjusting configure{.ac} to have:
mpclibs="-lmpc"
Allan