[issue34217] windows: cross compilation fails due to headers with uppercase

Erik Janssens report at bugs.python.org
Sat Aug 18 06:59:26 EDT 2018


Erik Janssens <erik.janssens at conceptive.be> added the comment:

I'll try to be more precise :

- I did an (imperfect) search : before these changes 98% of the windows headers were included in the .c files in lowercase

- These changes would bring it to 100%

- The advantage of these changes are consistency and the ability to cross compile those .c files on linux for a windows target, using the mingw-w64 sdk, where the sdk is on a case sensitive filesystem, as is the default when installing this sdk in most linux distributions.

- I did not consider, nor did I test other toolchains than mingw-w64/mingw-w64-sdk on linux and msvc/windows-sdk on windows.

I'm not enough of an expert on the different tools to come up with a comprehensive solution for this issue, but am willing to validate such solution for the use case of cross compiling on linux.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34217>
_______________________________________


More information about the Python-bugs-list mailing list