August 13, 2019 [Issue 20127] New: Add Support for objects with .o extension on Windows | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=20127 Issue ID: 20127 Summary: Add Support for objects with .o extension on Windows Product: D Version: D2 Hardware: All URL: http://dlang.org/ OS: Windows Status: NEW Severity: enhancement Priority: P3 Component: dmd Assignee: nobody@puremagic.com Reporter: aldacron@gmail.com MinGW-w64 [1] (Windows GCC distro -- not the older and dead original MinGW) outputs object files in the MS COFF format. In my simple test builds, both 32- and 64-bit objects are compatible with DMD and the MS linker. Unfortunately, DMD rejects objects with the .o extension on Windows out of hand. They must first be renamed to .obj. Given that the files are compatible, accepting them based on their format rather than their file extension would add a bit of convenience. The same can be said of library files with the .a extension. DMD rejects them out of hand but accepts them when they're renamed to .lib. -- |
Copyright © 1999-2021 by the D Language Foundation