[Issue 20127] New: Add Support for objects with .o extension on Windows
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Aug 13 09:28:44 UTC 2019
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 at puremagic.com
Reporter: aldacron at 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.
--
More information about the Digitalmars-d-bugs
mailing list