On 2013-04-09 17:51, Martin Nowak wrote: > I think the best way is to sythesize a main function in the executable. > Something like this. > > extern(C) int main(int argc, char** argv) > { > rt_init(argc, argv); > runMain(&_Dmain); > return rt_term(); > } By "sythesize", you mean not defined in druntime? -- /Jacob Carlborg