[Issue 12116] dmd -op -od broken
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sun Jan 8 04:05:35 PST 2017
https://issues.dlang.org/show_bug.cgi?id=12116
--- Comment #6 from kinke at gmx.net ---
(In reply to Timothee Cour from comment #5)
> * dmd -od=mydir -op /absolute_path/fun.d should write to:
> mydir/absolute_path/fun.o (eg: -od=/tmp/ => /tmp/absolute_path/fun.o)
>
> this behavior is useful when users don't want to pollute a source repository
> with .o files, or when they want to keep multiple cached versions of object
> files (eg for different compilation options): the current behavior
> (/absolute_path/fun.o) won't allow that.
Please do not forget about Windows - how would you propose handling `dmd -c
-od=mydir -op C:\bla.d D:\bla.d` then? ;)
--
More information about the Digitalmars-d-bugs
mailing list