Install msys from http://sourceforge.net/projects/mingwbuilds/files/external-binary-packages/
Note this is only msys, not msys+mingw since we are not using gcc Uncompress into (e.g.) c:msys
Notes:
- Use forward / in paths to configure
- At the moment, Tcl only builds in the TCLSRC/win and TKSRC/win directories
- If doing 64-bit builds, add --enable-64bit
Use "Developer Command Prompt" from MSVC, not msys sh. For ./configure to run, you need to add c:MinGWMSYS1.0bin to your path:
set PATH=%PATH%;C:\\MinGW\\MSYS\\1.0\\bin
set CC=cl.exe
cd *PATHTOTCLSRC*\\win
sh configure --prefix=*TCLINSTALLDIR* --enable-threads
make
make install
cd *PATHTOTKSRC*\\win
sh configure --prefix=*TCLINSTALLDIR* --enable-threads
make
make install