Fix win32.mak to match posix hierarchy#6873
Conversation
dc082e8 to
60a34c2
Compare
|
Cool, now please follow up with updates to the testing scripts. |
|
Will that pose any problem for Digger ? @CyberShadow ? |
Not as long as it creates a |
|
@CyberShadow We should update digger to use the executable in generated/ because subject of the follow up PR is going to be to delete the executable in src |
|
No problem, ping me when you make that PR |
Yeah about that ... how feasible would it be to replace DigitalMars make with GNUMake on Windows? It would at least save us the huge pain of maintaining different files for the same thing... http://gnuwin32.sourceforge.net/packages.html In the worst case we could use the Windows Makefiles & DigitalMars make to bootstrap GNUMake ... |
I looked into that a while ago, for dlang.org. Essentially it would put us halfway there - GNU make is only half useful without the other GNU utilities, such as |
|
This pull request introduced a regression: |
Hmm couldn't we download the coreutils on windows too? void main(string[] args)
{
import std.file, std.getopt;
bool recursive;
auto config = getopt(args, "-r", recursive);
foreach (arg; arg[1 .. $])
{
if (recursive) arg.rmdirRecurse;
else arg.remove;
}
} |
Requiring a (any) POSIX toolchain on Windows (Cygwin, GnuWin32, MinGW, msys2, etc.) is one possibility of going forward and away from win32/64.mak.
Yes. One idea is to implement them directly in DigitalMars Make (as built-ins). |
Currently BUILD is hardcoded to release. Since the windows make tool is pretty dumb, it should suffice for now