Adding support for the MUSL C library

Niels Möller nisse at
Tue Dec 6 10:44:17 UTC 2016

Josh Conner <joshconner at> writes:

> When trying to configure GMP for use with the MUSL libc, it failed to
> detect that FILE is defined. Below is a diff that fixes this - I
> thought I would pass it along so it might be incorporated. 


> Is there anything I can do to help get this committed?

Note that gmp-5.1.3 is quite old. But I think these checks in
are identical in the current version.

For more substantive changes we ask for an FSF copyright assignment.
(Which I believe is already in place with google. And feel free to mail
me at nisse at if you have any company-specific questions).


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

More information about the gmp-devel mailing list