On 11.10.2014 12:12, 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.
I meant Win64, because the tool chain is very much the same as for
win32mscoff (MS compiler and linker and C runtime). Win32 means dmc and
optlink. That's also why the win64.mak makefiles are abused for win32mscoff.
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?
Yes, DMD git HEAD is required.