Still cannot build Phobos from git

Jonathan M Davis jmdavisProg at gmx.com
Tue Jul 26 13:10:56 PDT 2011


> git clone https://github.com/D-Programming-Language/dmd.git
> git clone https://github.com/D-Programming-Language/druntime.git
> git clone https://github.com/D-Programming-Language/phobos.git
> 
> cd druntime
> make -f win32.mak
> cd..
> 
> cd phobos
> make -f win32.mak
> cd..
> 
> cd dmd\src
> make -f win32.mak
> 
> Of course this doesn't copy everything in the right places. But it
> does work for me.

As Nick points out, you also have to have an sc.ini in the right place with 
the right values and probably some other stuff that comes in the zip file but 
isn't in git for whatever reason. But I haven't dealt with all of that in 
Windows recently, so I don't remember the details. It's easier in Linux from 
what I recall, but regardless, once it's set up all you have to do is update 
the repositories and rebuild, and it works (though in Windows, you'll probably 
have to copy the resultant dmd binary due to the lack of symlinks). The 
situation with git should probably be improved though such that you can build 
the whole chain with just what git gives you.

- Jonathan M Davis


More information about the Digitalmars-d mailing list