[PATCH 4.5 0/N]: Integrate GCC with the complex math library MPC

Kaveh R. Ghazi ghazi@caip.rutgers.edu
Sun Mar 15 18:00:00 GMT 2009


From: "Richard Guenther" <richard.guenther@gmail.com>

> For adding a new build and runtime dependency to GCC I think you have
> to ask the SC to ok this (there's probably also legal ACK required by the
> FSF
> which you'll get through the SC as well).

To clarify, with MPC there's no "runtime dependency" in the sense of a
libgcc runtime exception.  There's only a build dependency in that cc1 would
be linked with MPC.  MPC is licensed under LGPL 2.1 (or later) so there's no
legal impediment for linking it in GCC.  But I'll ask the SC anyway.

> Btw, which Linux distributions ship MPC?  Is MPC supported on all GCC
> primary and secondary host systems?

That's an important question.  I think I mentioned in my original post,
there probably aren't any linux distributions offering it now.  It's too
early, but I expect that to change over time.  Certainly by the 4.5 release
date (a year away at least?) I expect this situation to improve.

MPC is written in pure C, there is no esoteric cpu-specific assembly
optimizations like you might find in GMP.  So it should work anywhere you
can build GCC.  I'll check with the developers and see if they have a "known
to work" platform list.

        Thanks,
        --Kaveh



More information about the Gcc-patches mailing list