Comment #0 by timothee.cour2 — 2017-01-03T23:54:55Z
OSX (and maybe other OS)
dmd -shared -od=/tmp/d09/ test.d
creates ./test.dylib instead of /tmp/d09/test.dylib; and also /tmp/d09/test.o
same with s/dmd/ldmd2/
with s/-shared/-lib/, it correctly creates:
/tmp/d09/test.a
(and no .o)
This is clearly inconsistent.
One option would be to make:
dmd -shared -od=/tmp/d09/ test.d
create all produced stuff in /tmp/d09/
If that's unacceptable, make `dmd -shared -od=/tmp/d09/ test.d` an error, saying: please provide `-of=`
Comment #1 by robert.schadek — 2024-12-13T18:51:15Z