[PATCH] Support cross compiling with MinGW-w64 on Debian GNU/Linux
kou at cozmixng.org
Mon Oct 27 15:01:26 UTC 2014
Could you confirm the patch?
In <20141018.004250.1469014097857676892.kou at cozmixng.org>
"Re: [PATCH] Support cross compiling with MinGW-w64 on Debian GNU/Linux" on Sat, 18 Oct 2014 00:42:50 +0900 (JST),
Kouhei Sutou <kou at cozmixng.org> wrote:
> 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?
More information about the nginx-devel