gmp 4.3.1 failed cross compile for mingw-w64
Torbjorn Granlund
tg at gmplib.org
Fri May 29 23:13:25 CEST 2009
zhou drangon <drangon.zhou at gmail.com> writes:
$ /compile/mingw/cross/bin/x86_64-pc-mingw32-gcc -v
Using built-in specs.
Target: x86_64-pc-mingw32
I don't know much about the target platform.
Your subject line talks about mingw-w64, then you have set the target as
mingw32. Even of the names are not entirely symmetric, presumably they
are intended to be, and refer to a 64-bit and 32-bit Windos ABI,
respectively?
The 32-bit ABI is known to work, but I am not aware of any port of GMP
to any 64-bit Windos ABI.
If mingw-w64/mingw64 is to use the standard x86_64 calling conventions,
then porting should not be terribly difficult. Porting to Microsoft's
64-bit ABI will be much harder, since they changed anything they could
change, compared to the x86_64 standard calling conventions.
--
Torbjörn
More information about the gmp-bugs
mailing list