[PATCH v2] Xmd.h: Treat __ILP32__ targets as LONG32 ones

Julien Cristau jcristau at debian.org
Mon Jun 11 13:26:05 PDT 2012


On Sun, Jun 10, 2012 at 15:54:43 -0400, James Cloos wrote:

> Linux distributions, at least, have ports for x32.
> 
Which ones?

> The differences between the m64 and mx32 are tiny: 32 vs 64 bits
> for longs and pointers.  At the C level, you look for __amd64__ 
> and either __LP64__ or __ILP32__.
> 
That seems like a rather fundamental difference, not a "tiny" one, for
software that bothers checking for it.

Cheers,
Julien


More information about the xorg-devel mailing list