Chris Barker <chris.bar...@noaa.gov> wrote:

> 32 bits on all (most) 32 bit platforms
> 64 bits on 64 bit Linux and OS-X
> 32 bits on 64 bit Windows (also if compiled by cygwin??)

sizeof(long) is 8 on 64-bit Cygwin. This is to make sure it is inconsistent
with MSVC and MinGW-w64, and make sure there will always be ABI mismatches
unless the headerfiles are modified accordingly.

OTOH, it is one only sane 64-bit compiler on Windows. You can actually take
code written for 64 bit Linux or OSX and expect that it will work
correctly.

Sturla

_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to