>> 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.