Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2026-08-27
18:49 • Ticket [4bd630f167] --without-tzdata windows status still Closed with 4 othe... artifact: 8dd2253d14 user: Ericson2314
2026-08-26
22:07 • Ticket [4bd630f167]: 6 changes artifact: 347a99777c user: Ericson2314
2026-08-18
13:00 • Closed ticket [4bd630f167]. artifact: 03f9929d03 user: jan.nijtmans
12:50
Fix [4bd630]: --without-tzdata on windows check-in: 94c9e43558 user: jan.nijtmans tags: trunk, main
12:44
Fix [4bd630]: --without-tzdata on windows check-in: fd06472ef4 user: jan.nijtmans tags: core-9-0-branch
2026-08-15
17:46 • Ticket [4bd630f167] --without-tzdata windows status still Open with 3 other ... artifact: d84e7c71c9 user: Ericson2314
15:33 • Ticket [4bd630f167]: 3 changes artifact: 24665af66f user: Ericson2314
2026-08-14
23:36 • Add attachment tcl-win-tzdata.patch to ticket [4bd630f167e6708a|4bd630f... artifact: 8afb622b00 user: Ericson2314
23:34 • New ticket [4bd630f167] --without-tzdata windows. artifact: 34b23405dd user: Ericson2314

--without-tzdata windows

Closed / Fixed4bd630f167e6708a48656a4db0e1f8ba01a642c5Created 110 days agoUpdated 97 days ago
Descriptionmarkdown2026-08-14 23:34:59

I see that the Unix configure script as a --without-tzdata flag but the Windows one doesn't?

Ericson2314markdown2026-08-15 15:33:43

Ultimately though I think it would be more maintainable to combine the build systems.

I looked at e.g. https://sourceforge.net/p/tcl/mailman/message/59319969/ and https://core.tcl-lang.org/tcl/tktview/3432902fffffffffffffffffffffffffffffffff and if there is interest in a CMake or Meson build system I think that would be prudent too.

I would be willing to contribute a unified build system in either autoconf or one of those two if there is interest in this.

Ericson2314markdown2026-08-15 17:46:19

There is also an issue that when Cygwin DLLs are installed in bindir, tclConfig.sh still says -L<libdir>.

This is a great example of how split build systems don't really help that much --- Cygwin is Unix-like enough that it should use the Unix build system, but still has some Windows oddities. This means that the Unix build system cannot free itself of those Windows concerns, as one might have hoped the split would accomplish.

jan.nijtmanswiki2026-08-18 13:00:05

Fixed [here]

Since --without-tzdata only has effect with --disable-zipfs, I don't think the value of --without-tzdata is that much, but making the behavior the same as on UNIX is a good thing.

> There is also an issue that when Cygwin DLLs are installed in `bindir`, `tclConfig.sh` still says `-L<libdir>`.

The normal way on Cygwin is to have a cygtcl9.x.dll in /usr/bin and a libtcl9.x.dll.a file in /usr/lib. So `-L<libdir>` is correct here. It works for me.

Hope this helps. Closing

Ericson2314markdown2026-08-26 22:07:58

Thanks it did! you can see https://github.com/NixOS/nixpkgs/pull/553016 for the result. (https://github.com/NixOS/nixpkgs/pull/556835 will clean it up but at the moment I post this GitHub is rendering the diff all wrong.)

There is also an issue that when Cygwin DLLs are installed in bindir, tclConfig.sh still says -L<libdir>.

The normal way on Cygwin is to have a cygtcl9.x.dll in /usr/bin and a libtcl9.x.dll.a file in /usr/lib. So -L<libdir> is correct here. It works for me.

Oh yes, that makes sense. The thing I had shuffling stuff libs/dirs around ended up being totally unneeded too, so confirmed empirically on our end also!

Ericson2314markdown2026-08-27 18:49:18

Ah! https://core.tcl-lang.org/tcl/tktview/17960b80db is the fix I needed -- I did a build with TCL 8.6 and that was the one missing it. I can just backport it in my distro.

Log in (anonymous is fine) to add a comment.