www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 8756] New: Add link to location of curl static library


           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

09:46:58 PDT ---
These links should probably be added to std.net.curl and etc.c.curl:

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