1) Have a trivial D file named deneme.d:
// deneme.d
void foo() {
}
2) Compile a shared library with the -o- switch:
dmd -o- -shared -of=deneme.so deneme.d
Desired behavior: The .so file should exist but the .o file should be missing per my understanding of the documentation: https://dlang.org/dmd-linux.html
Observed behavior: No file exists.
Note: Perhaps only the documentation needs to be made more clear from the current "Useful in conjuction with -D or -H flags."
Still, lack of the .so file should be considered a bug, and so here it is! :)
Comment #1 by robert.schadek — 2024-12-13T19:12:29Z