Should "std.net.curl" be moved from Phobos to Deimos?

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Tue Nov 26 12:02:29 PST 2013


On 11/26/13 11:56 AM, Brad Anderson wrote:
> On Tuesday, 26 November 2013 at 19:27:07 UTC, Andrei Alexandrescu wrote:
>> On 11/26/13 11:13 AM, Brad Anderson wrote:
>>> To use 32-bit curl you need to generate an OMF import library from the
>>> libcurl DLL. It's not terribly hard. I did it originally for when I
>>> added downloading of libcurl to the Windows installer.
>>
>> When is the OMF library needed?
>>
>> 1. While building dmd
>>
>> 2. While building druntime
>>
>> 3. While building phobos
>>
>> 4. While building client code that does NOT use std.net.curl
>>
>> 5. While building client code that DOES use std.net curl
>>
>
> 5. std.net.curl actually existed for several releases of dmd before I
> went to use it one day and got linker errors and decided to fix it with
> the installer change.

Awesome. So can we assume 
https://github.com/D-Programming-Language/installer/pull/27 takes care 
of Windows for good?

Thanks for your work!!! I'll make sure I'll get a word of thanks to 
@broccolis as well.

>> We can ask the libcurl author if it comes down to redistributing a
>> libcurl binary. But we want to make sure this is the solution of choice.
>
> Walter actually already did that and the author of libcurl said
> redistributing it was fine.
>
> Here's an old thread discussing the licensing:
> http://forum.dlang.org/post/wgnsetqkzbzgulccphvu@forum.dlang.org

Terrific, thanks.


Andrei



More information about the Digitalmars-d mailing list