rebol/r3 — pull request #28 by earl (2012-12-16 02:00:57+00:00)
Title: Fix and improve build for Win32

Here's the first set of changes to the Win32 build, created in collaboration with Cyphre and Robert. A quick overview (without trying to reiterate the commit summaries too much):

- Disable `declspec(thread)` for MinGW
- Default to build with REB_EXE defined
- Drop `-lc` linking to libc (not needed on Linux, OSX; MinGW on Win32 barfs on this)
- Link against wsock32 and comdlg32
- Build sources from os/win32/ for Win32
- Build r3 as GUI binary (just like the official RT Alpha builds)
- Fix stack size allocated for the Win32 binaries
- Use .exe in name of Win32 executables
- Use DIR instead of LS on Win32 (makes us slightly more independent from the MinGW shell)
- Use r3-make with `>NUL:`, to avoid R3 crash in make on Win7

The commit messages have all the detail.