Have Win DMD use gmake instead of a separate DMMake makefile?

Anon z at z.z
Sun Aug 11 14:35:11 PDT 2013


On Sunday, 11 August 2013 at 21:21:45 UTC, bearophile wrote:
> Walter Bright:
>
>> On the subject of friction, I believe we make a mistake by 
>> making a dependency on libcurl, a library over which we don't 
>> have control. Some issues:
>>
>> http://d.puremagic.com/issues/show_bug.cgi?id=10710
>>
>> http://d.puremagic.com/issues/show_bug.cgi?id=8756
>
> Issue 8756 doesn't seem caused by libcurl. (If the pragma(lib) 
> feature is not portable then perhaps it should become a feature 
> of just DMD and not of the D language. This aligns a bit better 
> the theory/dream of D with the reality of D.)

Does pragma(lib, "curl") not work on Windows/DMD? I know it does 
in Linux (used in DMD and LDC, ignored under GDC),
and was under the impression that that was the portable way to 
use pragma(lib).

If it isn't now, I would argue that naming the library (rather 
than the file) should be the standard, accepted use of 
pragma(lib). It neatly avoids cluttering D code with version()s 
and repeated pragmas to handle the different naming schemes.


More information about the Digitalmars-d mailing list