> Why can a long integer not be set to 64 bits? Because long is32 bits in the 64-bit Windows ABI, and in also 64-bit C libraries on Windows. And this is fully legal from a C language point of view.
Any code that pretends to be portable but assumes long is 64 bits is simply broken. Code should use an appropriate portable way to get an integer type guaranteed to be 64 bits if it needs one, like either use a suitably complex configure script or similar, or use int64_t from <stdint.h>. Are you sure you haven't simply misconfigured gmp? > Must i maybe download the source package and compile to cross-compiler myself > to get this behaviour? You could, but your compiler would then generate code that would be incompatible with the headers for the Microsoft C library, so you would have to modify those, too. (Or write your own C library...) --tml ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public