No Output with shebang.

Philippe Sigaud via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Aug 20 14:03:48 PDT 2014


>> gdc just compiles the program to a.out. It doesn't run the
>> resulting executable. You need to use something like rdmd instead
>> of gdc. rdmd compiles to some temporary location and then runs
>> the executable.
>
>
> Wow, that was fast. Thanks a lot!

Can compiler switches be used with the shebang notation? If yes, there
is certainly a GDC flag (-run?) that tells it to run the generated
executable.


More information about the Digitalmars-d-learn mailing list