[Issue 20250] New: Static 64-bit failure
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Sep 29 00:01:04 UTC 2019
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 at puremagic.com
Reporter: svnpenn at 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 at 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
--
More information about the Digitalmars-d-bugs
mailing list