[Issue 18522] New: [REG 2.079-b2] MinGW import libraries interfere with platform SDK
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Feb 25 14:31:22 UTC 2018
https://issues.dlang.org/show_bug.cgi?id=18522
Issue ID: 18522
Summary: [REG 2.079-b2] MinGW import libraries interfere with
platform SDK
Product: D
Version: D2
Hardware: x86_64
OS: Windows
Status: NEW
Severity: regression
Priority: P1
Component: installer
Assignee: nobody at puremagic.com
Reporter: r.sagitario at gmx.de
dmd does no longer link with an installation of dmd 2.079 when building through
the Visual Studio project.
This happens because dmds lib64/lib32mscoff folder is passed to the linker as a
search path to phobos64.lib. It also contains the mingw-libraries that don't
work with LIBCMT.lib from the VC installation. The latter expects more uptodate
libraries.
The mingw libraries should only be used if no SDK is found. dmd already expects
this to be the case and adds lib64/mingw as a search path in that case.
--
More information about the Digitalmars-d-bugs
mailing list