https://issues.dlang.org/show_bug.cgi?id=12116
--- Comment #6 from [email protected] --- (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? ;) --
