* Alan Grunwald <nospam.nurdglaw@gmail.com>Thanks Ralf, I'll bear that in mind as an option.
| If I install the Visual Studio C++ compiler a) It takes ages to start
| up and b) requires that I put sources etc. etc. in places that I would
| rather not have them.
I think there is a rather current makefile.vc in current TCL source
releases which should work from a VS cmd.exe.
| Ideally, I'd like to build under Cygwin and install to C:\tcl9.0.4, if
| I must, I'm happy to build under MSys and install to the same place.
We're building TCL/Tk in 'old' msys-1 bash and using the VS compiler:
- start a VS development cmd.exe to get the necessary environment
- in that, start msys bash
- in that:
export CC=cl PATH=/c/windows/system32:$(PATH)
cd $(TCLDIR)/win \
&& ./configure --enable-threads --disable-symbols --prefix .... --enable-64bit \
&& make RC=rc STLIB_LD="link.exe -lib -nologo" SHLIB_LD="link.exe -dll -incremental:no -nologo \
&& make install install-private-headers
I would guess mingw on current msys2 should work even better with all defaults...
HTH
R'
On 03/07/2026 17:39, Ralf Fassel wrote:
* Alan Grunwald <nospam.nurdglaw@gmail.com>Thanks Ralf, I'll bear that in mind as an option.
| If I install the Visual Studio C++ compiler a) It takes ages to start
| up and b) requires that I put sources etc. etc. in places that I would
| rather not have them.
I think there is a rather current makefile.vc in current TCL source
releases which should work from a VS cmd.exe.
| Ideally, I'd like to build under Cygwin and install to C:\tcl9.0.4, if
| I must, I'm happy to build under MSys and install to the same place.
We're building TCL/Tk in 'old' msys-1 bash and using the VS compiler:
- start a VS development cmd.exe to get the necessary environment
- in that, start msys bash
- in that:
-a-a-a-a-a-a-a-a export CC=cl PATH=/c/windows/system32:$(PATH)
-a-a-a-acd $(TCLDIR)/win \
-a-a-a-a&& ./configure --enable-threads --disable-symbols --prefix .... -- >> enable-64bit \
-a-a-a-a&& make RC=rc STLIB_LD="link.exe -lib -nologo" SHLIB_LD="link.exe >> -dll -incremental:no -nologo \
-a-a-a-a&& make install install-private-headers
I would guess mingw on current msys2 should work even better with all
defaults...
HTH
R'
Alan
| Sysop: | Amessyroom |
|---|---|
| Location: | Fayetteville, NC |
| Users: | 76 |
| Nodes: | 6 (0 / 6) |
| Uptime: | 59:23:28 |
| Calls: | 1,265 |
| Calls today: | 1 |
| Files: | 1,362 |
| D/L today: |
4 files (9,632K bytes) |
| Messages: | 286,017 |