Would it be a big deal to make the compiler recognize that there is no -c, but no instance of main() has been found, and say "Link skipped - no main()" instead of what you get if you do dmd mian.d on import std.stdio; void mian() { writefln("Hello Wolrd"); }