Compiling with gdc vs. gdmd

Robert Clipsham robert at octarineparrot.com
Sat Apr 7 04:24:33 PDT 2012


On 03/04/2012 22:11, Jacob Carlborg wrote:
> On 2012-04-03 22:36, Robert Clipsham wrote:
>> So use D! I use D for my build script, works just fine.
>>
>> https://github.com/mrmonday/serenity/blob/master/build.d
>>
>> In ~365 LoC that I hacked together and didn't put much effort in to it
>> builds a library and a binary, prints a coloured status update, supports
>> parallel and remote builds, debug and release builds and a few other
>> things.
>>
>> Bonuses:
>> * You get a full, awesome language to use
>> * It's fast and easy
>> * It's very maintainable by anyone who's working on your code (since
>> they already know D)
>>
>
> But that only works for Posix?
>

Works fine on Windows too, just give your build instructions as:

rdmd build.d

Rather than ./build.d. Providing there is a working D installation in 
your PATH it'll work just fine.

-- 
Robert
http://octarineparrot.com/


More information about the D.gnu mailing list