rdmd executable location

Andrej Mitrovic andrej.mitrovich at gmail.com
Wed Dec 15 11:44:35 PST 2010


On 12/15/10, CrypticMetaphor <CrypticMetaphor88 at gmail.com> wrote:
> If I run it with the rdmd version that came with the compiler, nothing
> special happens, it just compiles and runs the code, the executable
> doesn't end up in my current folder. ( rdmd build 20100913 ).

Sorry, that should be:

rdmd -od%cd%\ filename.d

Notice the backslash there. Otherwise it will create an executable on
the root drive with the name of the folder you're compiling in.
Funky..

Anyway there are more switches here:
http://www.digitalmars.com/d/2.0/dmd-windows.html#switches


More information about the Digitalmars-d-learn mailing list