[Issue 16962] rdmd --build-only --force -c main.d fails: ./main: No such file or directory
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sat Dec 10 18:36:46 PST 2016
https://issues.dlang.org/show_bug.cgi?id=16962
--- Comment #3 from Timothee Cour <timothee.cour2 at gmail.com> ---
also broken:
rdmd --build-only --force -od=/tmp/bar/ main.d
std.file.FileException at std/file.d(679): =/tmp/bar/main: No such file or
directory
=> rdmd doesn't seem to understand the new '=' syntax in '-od=' even though dmd
does (DMD64 D Compiler v2.072.1)
the only thing that works is:
rdmd --build-only --force -lib -od/tmp/bar/ main.d
rdmd --build-only --force -od/tmp/bar/ main.d
but NOT these:
s/-od/-od=/
s/-lib/-c/
or when we replace absolute path in od by relative path
--
More information about the Digitalmars-d-bugs
mailing list