>> Just another thought: >> dmd uses ld on linux, couldn't it use MinGW's ld on Windows? > > MinGW's ld doesn't use the same object format as DMD/DMC I know, of course this would include discarding OMF.