www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 18510] New: [Beta 2.079] lld-link.exe fails to open obj file


          Issue ID: 18510
           Summary: [Beta 2.079] lld-link.exe fails to open obj file in
           Product: D
           Version: D2
          Hardware: All
                OS: Windows
            Status: NEW
          Severity: major
          Priority: P2
         Component: installer
          Assignee: nobody puremagic.com
          Reporter: code dawg.eu
                CC: r.sagitario gmx.de

C:\>C:\D\dmd2\windows\bin\dmd.exe -ofdub.exe sub\dub.obj -m32mscoff -v
predefs   DigitalMars Windows LittleEndian D_Version2 all D_InlineAsm
m_X86 X86 Win32 CRuntime_Microsoft assert D_HardFloat
binary    C:\D\dmd2\windows\bin\dmd.exe
version   v2.079.0-beta.1

config    C:\D\dmd2\windows\bin\sc.ini
DFLAGS    -IC:\D\dmd2\windows\bin\..\..\src\phobos
C:\D\dmd2\windows\bin\lld-link.exe /NOLOGO "sub\dub" /OUT:"dub.exe"  /OPT:NOICF
C:\D\dmd2\windows\bin\lld-link.exe: error: could not open sub\dub: no such file
or directory
C:\D\dmd2\windows\bin\lld-link.exe: warning: /machine is not specified. x64 is
error: entry point must be defined
Error: linker exited with status 1


Weirdly the .obj suffix is stripped from the command line, might be a leftover
from optlink.

Feb 23 2018