digitalmars.D.bugs - [Issue 8756] New: Add link to location of curl static library
- d-bugmail puremagic.com (28/28) Oct 04 2012 http://d.puremagic.com/issues/show_bug.cgi?id=8756
http://d.puremagic.com/issues/show_bug.cgi?id=8756 Summary: Add link to location of curl static library Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Phobos AssignedTo: nobody puremagic.com ReportedBy: andrej.mitrovich gmail.com --- Comment #0 from Andrej Mitrovic <andrej.mitrovich gmail.com> 2012-10-04 09:46:58 PDT --- These links should probably be added to std.net.curl and etc.c.curl: http://curl.haxx.se/download.html#Win32 http://curl.haxx.se/download.html#Win64 Also, a small guide on how to actually make the import lib: implib curl.lib libcurl.dll /s Another issue, why are we using the non-portable pragma(lib) syntax? Not only does it not work across compilers, but it's also hardcoded to "curl.lib". If you have a build for multiple architectures (-m64/-m32) you will have separate import libs to the x32/x64 versions of the curl DLL. I think we should remove the pragma and add a note in the docs on how to link with the import lib. It's as simple as passing the import lib on the command-line on Windows+DMD, or using e.g. -lcurl via GDC. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Oct 04 2012