On 11/25/2011 05:27 PM, Andrei Alexandrescu wrote: > On 11/25/11 8:55 AM, Max Samukha wrote: >> __gshared extern extern(C) int __argc; > > That doesn't link. > > Andrei It links correctly on windows for me and linux doesn't have the variables defined. Are you sure they are not windows-specific?