"Nick Sabalausky" <a@a.a> wrote in message news:j0n450$1926$1...@digitalmars.com... > > ----------------------------------------- >
Updated with some lessions learned: - Need to also copy over the bin directory, not just lib - Should make changes to a *copy* of dmd\src\win32.mak to avoid confusing git. New version: [Make sure DMC is installed and on the PATH] >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 >mkdir dmd\bin >mkdir dmd\lib >copy {lib directory of latest official dmd release}\*.lib dmd\lib >copy {bin directory of latest official dmd release}\*.lib dmd\bin >del dmd\lib\phobos.lib >del dmd\bin\dmd.exe [Edit dmd\bin\sc.ini and find/replace "%@P%\..\src" with "%@P%\..\.."] > copy dmd\src\win32.mak dmd\src\win32-fixed.mak [Edit dmd\src\win32-fixed.mak: Change "CC=\dm\bin\dmc" to "CC=dmc" Search/Replace "win32.mak" with "win32-fixed.mak" ] >cd dmd\src >make -fwin32-fixed.mak -or- >make -fwin32-fixed.mak release >cd ..\.. >copy dmd\src\dmd.exe dmd\bin >set PATH={current_dir}\dmd\bin;%PATH% >cd druntime >make -fwin32.mak >cd .. >cd phobos >make -fwin32.mak DRUNTIME=..\druntime\lib >cd .. >copy phobos\phobos.lib dmd\lib