www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 22525] New: Cannot link m64 or m32mscoff

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

          Issue ID: 22525
           Summary: Cannot link m64 or m32mscoff
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Windows
            Status: NEW
          Severity: regression
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: rumbu rumbu.ro

I recently updated D from 2.089 directly to 2.098:

This is what I get when trying to compile for m64 or m32mscoff:

lld-link: error: could not open 'libcmt.lib': no such file or directory
lld-link: error: could not open 'OLDNAMES.lib': no such file or directory
Error: linker exited with status 1

Probably related to this change: 

https://dlang.org/changelog/2.091.0.html#windows

Current paths:

PS D:\git\y> (get-command dmd).source       
C:\D\dmd2\windows\bin\dmd.exe
PS D:\git\y> (get-command link).source 
C:\Program Files (x86)\Microsoft Visual
Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\bin\Hostx86\x86\link.exe

Tried also to run dmd from bin64 folder, same result.

--
Nov 18 2021