Running tzcode under Windows / C++ .NET

Robert Elz kre at munnari.OZ.AU
Tue Nov 25 17:33:06 UTC 2008

    Date:        Tue, 25 Nov 2008 17:44:34 +0100
    From:        "Gerber, Oliver" <Oliver.Gerber at>
    Message-ID:  <54566F2628DDC041AE1861028FA2030E01ADC34D at>

  | Is there any possibility to compile the tzcode under Windows (especially
  | Visual Studio 2005/2008)

It is C code, and the source is available, so of course it is possible.

Whether someone else has already done the work and is willing to make it
available is a different question...

I see nothing in zic that should be difficult to make work in anything
even half close to a standard C environment (and C is in a sense just a
generate case of C++) so I doubt you'd have must work to do to convert
it.  For special case usage, as you have, you don't need almost any of
its flexibility, so you could just trash all the option processing and
such.   It may be easier if you use cygwin (or M$'s equivalent of that)
but I doubt that even that much of a bending to unix lookalike is needed
for this.


More information about the tz mailing list