On 2011-07-26 21:22, Nick Sabalausky wrote:
"Andre Tampubolon"<an...@lc.vlsm.org>  wrote in message
news:j0mvqc$115g$1...@digitalmars.com...
I still cannot build Phobos from git properly :(

I tried to edit the win32.mak, changed the DFLAGS part into this:
DFLAGS=-O -release -nofloat -w -d -I%@P%\..\druntime\src\ -I%@P%\..
druntime\import\

Issuing "make -f win32.mak DRUNTIME=\druntime\lib", the output was:
dmd -c -O -release -nofloat -w -d -I%@P%\..\druntime\src\
-I%@P%\..\druntime\import  etc\c\zlib
.d -ofCzlib.obj
DMD v2.055 DEBUG
object.d: Error: module object is in file 'object.d' which cannot be read
import path[0] = %@P%\..\druntime\src\
import path[1] = %@P%\..\druntime\import

--- errorlevel 1


Now I'm totally confused. Maybe someone would like to write a tutorial
on how to build the latest DMD from git?

I'm going to write an automated way to do it. Probably put it into DVM if
Jacob feels that'd be appropriate.

But here's the notes I have so far (short answer: you're probably missing
sc.ini and all the .libs, those files aren't included in git for some
reason):

How is that going to work? As far as I know there is no reliable way telling if a given commit of Phobos works with a given commit of druntime or DMD.

If you get it to work I'll include it.

--
/Jacob Carlborg

Reply via email to