Using tz as linked libraries
Paul Eggert
eggert at CS.UCLA.EDU
Fri Oct 22 18:27:21 UTC 2004
"Wendel Schultz" <wendel at accessdata.com> writes:
> Has anybody had any success linking to the libraries and using these
> functions? Any sample programs that illustrate this?
Sure: the date.c program (which is part of the tz code) links to the
strftime etc. functions defined by the other modules. So you can
think of date.c as a "sample program".
> Also, is it better to build this under Cygwin or use MS VC++ to
> compile?
It should work either way. I've never used either system, though, so
I can't say for sure. I can confirm that it works well under both
GNU/Linux and Solaris.
More information about the tz
mailing list