[Issue 22568] New: -target option does nothing in compilation

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Dec 4 00:38:58 UTC 2021


https://issues.dlang.org/show_bug.cgi?id=22568

          Issue ID: 22568
           Summary: -target option does nothing in compilation
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: ibuclaw at gdcproject.org

i.e:
---
$ dmd -c test.d -target=x64-windows-msvc
$ file test.o 
test.o: ELF 64-bit LSB relocatable, x86-64, version 1 (GNU/Linux), not stripped
---

When targetting MSVC, one would expect a PE/COFF object file.

--


More information about the Digitalmars-d-bugs mailing list