https://bugs.winehq.org/show_bug.cgi?id=47951
Bug ID: 47951 Summary: Compiling WINE under Windows is completely broken Product: Wine Version: unspecified Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: build-env Assignee: wine-bugs@winehq.org Reporter: carlo.bramix@libero.it Distribution: ---
After some time, I decided to update my version with the changes from latest WINE sources, but sadly the compilation under Windows is completely broken. Both CYGWIN and MSYS2+MINGW are not working anymore. The first cause of problem is the addition of _WIN32 macro into configure script. Its presence corrupts the execution under CYGWIN, under MINGW this addition is useless because it is an intrinsic macro, but here the configuration does not work also for other reasons. Removing that declaration is the first point should be already good, but in my opinion it would be better to distinguish between CYGWIN and MINGW at configure time in some points. This will give more options, for example it would be better to name the library cygwine-1.dll for CYGWIN and libwine-1.dll for MINGW, to allow their coexistence in the environment. After several fixes to configure and other source files, I was finally able to start the compilation, but unfortunately winebuild hangs because it fails the execution of dlltool, perhaps because some changes because my previous version was working fine. Since the amount changes was going to be excessive, I'm also posting this bug report.
Sincerely.