digitalmars.D.bugs - [Issue 20250] New: Static 64-bit failure
- d-bugmail puremagic.com (32/32) Sep 28 2019 https://issues.dlang.org/show_bug.cgi?id=20250
https://issues.dlang.org/show_bug.cgi?id=20250 Issue ID: 20250 Summary: Static 64-bit failure Product: D Version: D2 Hardware: x86_64 OS: Windows Status: NEW Severity: major Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: svnpenn gmail.com Using this file: import std.net.curl, std.stdio; void main() { auto v1 = "http://speedtest.atl.hivelocity.net".get; write(v1); } I can compile like this: cp curl-7.66.0-win32-mingw/lib/libcurl.a curl-x86.lib dmd -m32mscoff app.d curl-x86.lib However if I try 64-bit: cp curl-7.66.0-win64-mingw/lib/libcurl.a curl-x64.lib dmd -m64 app.d curl-x64.lib it fails: $ ./app std.net.curl.CurlException std\net\curl.d(4201): Failed to load curl, tried "libcurl.dll", "curl.dll". Same for this: dmd -m64 -static app.d curl-x64.lib --
Sep 28 2019