[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
Sun Dec 11 09:00:32 PST 2016
https://issues.dlang.org/show_bug.cgi?id=16962
ag0aep6g at gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ag0aep6g at gmail.com
--- Comment #6 from ag0aep6g at gmail.com ---
Found another one while looking into this:
https://issues.dlang.org/show_bug.cgi?id=16966
Regarding the bugs here:
The -of=/-od= thing (comment 3) seems to be a simple oversight. rdmd has just
not been thought of when the feature was implemented in dmd. Should be easy to
fix.
-o- not working (comment 2) seems to a deliberate restriction.
Supporting -c as in the summary may be some work. I must have missed that
scenario completely when doing <https://github.com/dlang/tools/pull/194>.
Problem is that rdmd now treats the root module specially: compiles it
separately, links everything together in a separate step. That doesn't go
naturally with -c, as far as I see. May have to detect -c and do things
completely different then.
-lib not working with relative paths (comment 3) seems odd. I hope it's just a
simple bug, and not a design flaw. I haven't investigated.
I'm going to look into this further, but it may take me a while. If anyone else
wants to have a go, that would be great.
--
More information about the Digitalmars-d-bugs
mailing list