https://bugs.winehq.org/show_bug.cgi?id=44075
Bug ID: 44075 Summary: Unable to set subsystem version with VC++ 2013 link.exe Product: Wine Version: 2.22 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: minor Priority: P2 Component: msvcrt Assignee: wine-bugs@winehq.org Reporter: kervala@gmail.com Distribution: ---
Created attachment 59791 --> https://bugs.winehq.org/attachment.cgi?id=59791 Full build log with all warnings
I'm using VC++ 2013 command-line compilers under Linux with WINE.
I'm specifying /SUBSYSTEM:WINDOWS,5.1 to link.exe to target Windows XP for x86 32 bits.
Unfortunately, when using WINE VC++ runtimes, I got :
LINK : warning LNK4010: invalid subsystem version number 5.1; default subsystem version assumed
I tried to check what warnings WINE returned but I think the only relevant one was : fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
When I check the PE header of compiled executable, the minimum Windows version is set to 6.0.
When using native msvcr120.dll by specifying : export WINEDLLOVERRIDES="msvcr120.dll=n"
Everything link perfectly without warning and the PE headers has Windows 5.1 minimum version.
I attached the full build log with all warnings.
If you need a test case, I can create a small one with required VC++ executables and all files to reproduce the issue.
Thanks :)