COFF on Win32 how to try?

Sag Academy via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Oct 11 03:25:44 PDT 2014


On Saturday, 11 October 2014 at 10:12:47 UTC, Szymon Gatner wrote:
> On Saturday, 11 October 2014 at 09:21:18 UTC, Rainer Schuetze 
> wrote:
>>
>>
>> On 10.10.2014 20:44, Szymon Gatner wrote:
>>> Hi, thanks for all the information.
>>>
>>> I got Digger (pretty nice tool btw) and it pulled all 
>>> neccessary repos
>>> from GitHub. As my understanding is that I should not be 
>>> doing "Build"
>>> with Diggger I just opened Windows console, entered druntime 
>>> dir and typed:
>>
>> You have to build dmd, so it should be  good starting point to 
>> succeed in building the full chain for win64: dmd, druntime 
>> and win64.
>
> You mean for Win32? Beacause that is what I am after.
>
>>
>>>
>>> d:\digger-1.0\repo\druntime>make -f win64.mak MODEL=32mscoff
>>> "CC=\"%VCINSTALLDIR
>>> %\bin\cl.exe\""
>>>
>>> and got:
>>>
>>> dmd -c -o- -Isrc -Iimport -Hfimport\core\sync\barrier.di
>>> src\core\sync\barrier.d
>>>
>>> src\core\stdc\stdio.d(859): Error: found 'nothrow' when 
>>> expecting '{'
>>
>> Ahh, I thought it would use a compiled dmd by default. You 
>> will have to specify the path to dmd too:
>>
>> make -f win64.mak MODEL=32mscoff 
>> "CC=\"%VCINSTALLDIR%\bin\cl.exe\"" DMD=../result/bin/dmd
>>
>> The given dmd path is specific to building with digger (the 
>> normal path is ../dmd/src/dmd). You'll have to update sc.ini 
>> there, too.
>
> So to build HEAD druntime and Phobos I also need HEAD DMD, 
> correct? Installation of 2.066 I have now is not sufficent?

sounds good


More information about the Digitalmars-d-learn mailing list