[PATCH] Support cross compiling with MinGW-w64 on Debian GNU/Linux
kou at cozmixng.org
Fri Oct 17 15:42:50 UTC 2014
In <20141017144512.GF35211 at mdounin.ru>
"Re: [PATCH] Support cross compiling with MinGW-w64 on Debian GNU/Linux" on Fri, 17 Oct 2014 18:45:12 +0400,
Maxim Dounin <mdounin at mdounin.ru> wrote:
>> I add only 64bit version MinGW-w64 GCC support. We can
>> distinguish 64bit version MinGW-w64 GCC by the following
>> defined(__GNUC__) && defined(_WIN64)
> The MinGW-w64 wiki suggests the __MINGW64_VERSION_MAJOR macro can be
> used to distinguish MinGW-w64 and MinGW:
Thanks for the information. I don't know about it.
(I just checked only pre-defined macros by
"x86_64-w64-mingw32-gcc -dM -xc -E /dev/null"...)
I confirmed the the approach can work with both 32bit
version and 64bit version MinGW-w64 GCCs.
Could you merge the attached patch?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 8089 bytes
Desc: not available
More information about the nginx-devel