gmp.h needs to detect bit width more dynamically to support universal builds on mac

Dan Kegel dank at
Thu Dec 5 19:17:17 UTC 2013

That may be, but it doesn't mean any particular library should
rely on that mechanism working.  If you want to maximize reach
of your software, and it's not too hard to do, you should make one
.h work everywhere.

I guess I'll shut up now.  I have one .h file that works everywhere I
need it.  I guess I don't care if upstream doesn't want to support
that use.

On Thu, Dec 5, 2013 at 10:45 AM, Marc Glisse <marc.glisse at> wrote:
> On Thu, 5 Dec 2013, Dan Kegel wrote:
>> Multilib seems to be arch and gentoo's name for what debian calls
>> multiarch.
>> Regardless of whether the system is using multilib, multiarch, or fat
>> binaries,
>> the same .h file needs to be usable for all architectures and all
>> variants.
> Just correcting this statement: in Debian/Ubuntu's version, we have
> /usr/include/$ARCH/gmp.h (I have 4 different $ARCH on this computer), the
> header doesn't need to be shared between architectures there.
> --
> Marc Glisse

More information about the gmp-bugs mailing list