Bug 5562 – Add OS=win32wine build to druntime's posix.mak

Status
RESOLVED
Resolution
WONTFIX
Severity
enhancement
Priority
P2
Component
druntime
Product
D
Version
D2
Platform
Other
OS
Linux
Creation time
2011-02-11T02:19:59Z
Last change time
2020-01-17T09:10:40Z
Keywords
bootcamp
Assigned to
No Owner
Creator
Jonathan M Davis

Comments

Comment #0 by issues.dlang — 2011-02-11T02:19:59Z
Phobos can build with OS=win32wine to build the Windows version with wine on Linux. However, druntime does not. And since you have to have druntime built to build Phobos, that makes using OS=win32wine with Phobos a bit of a pain. So, I'd very much like it if the posix.mak makefile for druntime was updated to include a build for OS=win32wine so that it can be built in wine.
Comment #1 by alex — 2012-10-09T18:14:39Z
Can you provide a patch for this? I imagine porting over the stuff from the Phobos posix.mak shouldn't be too hard, but I don't have a Wine environment to test with.
Comment #2 by andrei — 2016-10-14T14:36:08Z
This would be great because it would allow us to unittest for Windows (at least to some extent) on Linux machines. FWIW I'd added such for Phobos a long time ago and it worked but it has since bitrotten (and probably disappeared)
Comment #3 by pro.mathias.lang — 2020-01-17T09:10:40Z
We can now use `build.d` to build under wine as opposed to the Makefile. See discussion here for a use case: https://github.com/dlang/dmd/pull/10731#issuecomment-575538851 Closing as WONTFIX since the functionality is here but not in the way the issue requests it.