On Wednesday, 20 December 2017 at 10:15:45 UTC, Benjamin Thaut wrote:

I found that both the make that comes with msys and the make that comes with mingw work for me. I‘m currently on vacation but once I‘m back and in case you are interrested I can post the batch file I use to run the dmd tests.

Here are my scripts: http://stuff.benjamin-thaut.de/D/DmdScripts.zip

You need to edit import/config.cmd and put in your paths to visual studio, msys and tdm gcc. A regular mingw also works, but if you use a regular mingw you have to remove the -j4 flag from the run-tests scripts as multi job make is broken in regular mingw (Thats why I use tdm-gcc).

The 5 scripts included are:
run-tests-win32mscoff.cmd - Runs the dmd test suite with the -m32mscoff flag
run-tests-win64.cmd - Runs the dmd test suite with the -m64 flag
setup-path-32mscoff.cmd - Sets up the environment so that building of druntime / phobos using the -m32mscoff flag becomes possible. setup-path-64.cmd - Sets up the environment so that building of druntime / phobos using the -m64 flag becomes possible. make-dlls.cmd - A bit of a unlucky name, but makes sense for my local workflow. Builds both druntime and phobos in 64 and 32mscoff.

Hope this helps.

Kind Regards
Benjamin Thaut

Reply via email to