Building dmd from source guid

Dmitry Olshansky dmitry.olsh at gmail.com
Thu Dec 6 12:11:38 PST 2012


12/7/2012 12:02 AM, monarch_dodra пишет:
> On Thursday, 6 December 2012 at 15:06:29 UTC, Jacob Carlborg wrote:
>> On 2012-12-06 15:50, monarch_dodra wrote:
>>> I'm trying to write a complete guide to building the alpha
>>> version of dmd.
>>
>> I have this guide I'm writing on, it's basically done:
>>
>> https://dl.dropbox.com/u/18386187/contribute.html
>
> On Thursday, 6 December 2012 at 15:36:25 UTC, Andrej Mitrovic wrote:
>> On 12/6/12, Jacob Carlborg <doob at me.com> wrote:
>>> I have this guide I'm writing on, it's basically done:
>>> https://dl.dropbox.com/u/18386187/contribute.html
>>> /Jacob Carlborg
>>>
>>
>> Note that you can't run the test-suite via a command shell on Windows,
>> you need to install MSYS.
>>
>> @monarch:
>>
>> I've written a Windows-specific guide recently that helps set up
>> Console2, which makes using Git and MSYS easier (including
>> automatically copying DMD.exe and not editing sc.ini):
>> http://dwiki.kimsufi.thecybershadow.net/Using_Git_on_Windows
>
> Wow, both are good ressources. Now I can finally test dmd without haking
> by hand.
>
> I still have 1 issue:
> when I want to test phobos with "make -fwin32.mak unittest", I error out
> because I don't have "curl.lib". The worst part is that in the packaged
> 2.060 release, if I go into src\phobos, and try to test phobos, I'll get
> the same issue.

The fact that curl is not shipped by default sucks. And the link is at 
the very bottom of  http://dlang.org/download.html is not handy.

Anyway here it is:
https://github.com/downloads/D-Programming-Language/dmd/curl-7.24.0-dmd-win32.zip

>
> I've found *very* little info on building dmd/phobos on windows. Am I
> supposed to build this myself...? Import it...? Should it just "be
> there"...?
>
> These are most probably related:
> http://d.puremagic.com/issues/show_bug.cgi?id=8756
> http://d.puremagic.com/issues/show_bug.cgi?id=9007
> I just want to know if I'm hacking at it when it should have worked, or
> if you are supposed to do it by hand...



-- 
Dmitry Olshansky


More information about the Digitalmars-d mailing list