dmd -o- option meaning changed recently? Now not creating OBJ but also not creating EXE

ag0aep6g via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Oct 2 13:47:44 PDT 2016


On 10/02/2016 10:33 PM, A D dev wrote:
> When I compile single-file D programs, I don't want to keep the
> generated object file (.OBJ, on Windows). I had checked the D compiler
> options for this (using dmd --help), and IIRC, a few weeks ago, I had
> used the -o- option (do not write object file) with a few single-file
> programs, to disable the creation of the .OBJ file, i.e. only the .EXE
> file got created - which is what I wanted.

I think you may be misremembering things. I've checked versions back to 
2.051 (from 2010, oldest I've got lying around). None of them wrote an 
executable with -o-.


More information about the Digitalmars-d-learn mailing list