Instructions for building dsss/rebuild on DMD/Windows 0) PRELIMINARIES First, you need the GNU C++ compiler to make rebuild.exe. So install MinGW if you don't have it already. Also you'll need a D 1.x compiler. DMD 1.028 is what I used. Check out the DSS source from SVN into {sourcedir}. SVN URL: http://svn.dsource.org/projects/dsss/trunk Now start up a command prompt -- just a regular CMD prompt, not MSYS, not Cygwin. Make sure you've got your PATH set up so that both D and g++ work. ============================================================================ 1) REBUILD ---------------- BUILDING REBUILD ---------------- cd to {sourcedir}/rebuild and type 'make'. You may get an error the first time trying to compile "access.c". The error is that "id.h" doesn't exist. If you get this error, just run the following two programs (which should have been built by 'make' before it got to the error): > idgen.exe > impcnvgen.exe These are supposed to be called automatically by the makefile; I'm not sure why they weren't for me. Anyway, after doing that, just type "make" again, and it should work this time. You should have a fresh rebuild.exe there now. ------------------ INSTALLING REBUILD ------------------ Rebuild will be installed along with DSSS. See below. ============================================================================ 2) DSSS ------------- BUILDING DSSS ------------- "cd .." back to {sourcedir} and do > make -f Makefile.dmd.win And this should build you a fresh dsss.exe. --------------- INSTALLING DSSS --------------- (and rebuild with it) By default dsss installs to C:\dsss. If you want something different, change PREFIX in the makefile. To install just do: > make -f Makefile.dmd.win install This copies all the dsss files to $PREFIX. This is also how the pre-built packages on the dsss web page are generated. Just by doing the same "make install" as above with PREFIX pointing at an empty directory. The resulting files are then just zipped up, and named dsss-0.xx-dmd-win.