Still cannot build Phobos from git

Dmitry Olshansky dmitry.olsh at gmail.com
Wed Jul 27 08:23:05 PDT 2011


My recipe on Windows:
1. Get the latest release zip you can find, unzip to some drive root(! 
otherwise get's trickier)
2. Delete all within src subfolder
3. Get a Git console in \dmd2\src, then the usual:
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
4. Build dmd
cd dmd\src
make -f win32.mak release
copy dmd.exe ..\..\..\windows\bin
cd ..
(to build dmd you'd need DMC, also extracted to the same drive root)
5.
cd druntime
make -f win32.mak

6.
cd phobos
make -f win32.mak unittest
copy phobos.lib ..\..\windows\lib

If anywhere of the above it fails to find dmd, make sure 
dmd2\windows\bin is in your path.
That's it, no additional tweaking required.

-- 
Dmitry Olshansky



More information about the Digitalmars-d mailing list