Niels Möller nisse at lysator.liu.se
Mon Apr 20 07:36:02 UTC 2015

"Daniel Richard G." <skunk at iSKUNK.ORG> writes:

> On Sat, 2015 Apr 18 09:37+0200, Marc Glisse wrote:
>> I am not familiar with this part of the build system, but if I
>> understand correctly, GMP needs 2 toolchains, one targetting the build
>> system (to generate some tables for instance) and one targetting the
>> host system. Using some parts of autoconf may require splitting things
>> into 2 separate configure.
> I'd be surprised if Autoconf didn't already address this use case, given
> how much work they've put into cross-compilation support.

It doesn't, as far as I'm aware. I borrowed GMP's GMP_PROG_CC_FOR_BUILD
and GMP_PROG_EXEEXT_FOR_BUILD of Nettle where I also need to generate
some tables using the native compiler.


Niels Möller. PGP-encrypted email is preferred. Keyid C0B98E26.
Internet email is subject to wholesale government surveillance.

More information about the gmp-bugs mailing list