Use of the __GMP_CC and __GMP_CFLAGS macros
Gabriel Dos Reis
gdr at integrable-solutions.net
Thu Sep 27 06:28:24 CEST 2012
On Tue, Sep 25, 2012 at 11:48 PM, Steve M. Robbins <steve at sumost.ca> wrote:
> On September 24, 2012 09:33:28 PM Gabriel Dos Reis wrote:
>> So, we have a distro maintainer who refuses to provide
>> a sensible GMP build/distribution. Is that correct?
> That's not how I would characterize it, no.
> The Debian maintainer (me) builds GMP according to the upstream instructions.
> This generated gmp.h file contains some information gathered at build time:
> /* Define CC and CFLAGS which were used to build this version of GMP */
> #define __GMP_CC "x86_64-linux-gnu-gcc -std=gnu99"
> #define __GMP_CFLAGS "-Wall -g -O3"
> Vincent doesn't find this information helpful, which is fine. However, others
> might find it useful, so I don't find his arguments a compelling reason to
> deviate from other GMP installations.
We have a GMP contributor who has laid out the
purpose and the history of these macros; but you are disregarding
that in favor some hypotheticals and and want us to believe that
my characterization in my previous message isn't correct?
Would the clarification suggested by Vincent make you change your
> I honestly can't see what the problem is. I presume his build system will
> honour __GMP_CC if present. But if it can cope with the absense of __GMP_CC
> then I can't see why it doesn't have a flag to ignore __GMP_CC when present.
More information about the gmp-discuss