Conversation
f135570 to
cd3b946
Compare
|
Seems like it's a problem with the makefile: Guess dlang/druntime#3231 might help. |
As mentioned in #11833 (comment) the "not found" message is a misinterpretation of the exit code by Digital Mars make at https://github.com/DigitalMars/Tools/blob/master/make.c#L1705: A crash in the exceutable |
This line suggests that using |
Thanks for the confirmation. Then dlang/druntime#3231 should solve this. |
|
@rainers > A crash in the exceutable unittest produces a negative result code which then makes the DMC runtime search for other locations of the program: https://github.com/DigitalMars/dmc/blob/master/src/core/SPAWN.C#L332 . Nice work! I'm not sure what the correct fix for spawn.c is, or should I fix make.c? Let me know and I'll get it fixed. |
A simple workaround should be to just check for That doesn't support process exit code -1, but allowing that would be a larger refactoring (and maybe doesn't make much sense when implementing the C lib). |
|
Thanks! |
|
Thanks everyone for helping out finding what turned out to be an ancient bug in dmc's runtime library. |
No description provided.