www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 20387] New: pipelink.exe ignores preferred linker

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

          Issue ID: 20387
           Summary: pipelink.exe ignores preferred linker
           Product: D
           Version: D2
          Hardware: All
                OS: Windows
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: visuald
          Assignee: nobody puremagic.com
          Reporter: rmanth gmail.com

I'm using the new LLVM platfrom toolset in visual studio 2019 which works fine
until I do something like "-flto" which is not compatible with link.exe. My
"LinkToolExe" property gets correctly set to lld-link.exe but at the last
moment VisualD overrides it which pipelink.exe which then calls link.exe. 

I think it makes more sense for pipelink.exe to delegate to the whatever is in
"LinkToolExe" before VisualD takes over.

--
Nov 12 2019