D-Programming-Language/dmd — pull request #841 by rainers (2012-03-25 17:40:40+00:00)
Title: fix win32 dll test build

These changes fix the win32 dll tests.

- static linking of DLLs work if you export the module info symbol (GDC seems to do this by default)
- dynamic linking, but still importing the d file, can sometimes work if you use a di file instead without further dependencies and without static constructor/destructor.

To get these tests running

- you still need the digital mars shell
- you have to add implib.exe to the build server
- you should change the paths at the top of runtests.sh