[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
How to get timezone in RTEMS?
- Date: Thu, 20 Jul 2000 10:32:21 -0700 (MST)
- From: vac4050 at cae597.rsc.raytheon.com (OUTWATER)
- Subject: How to get timezone in RTEMS?
Eric -
Have you used the TCL library with RTEMS? I have compiled the library and am trying
to get tclsh running to test things out bu it's not working.
Keith
> > Hello All:
> >
> > I'm trying to get TCL (8.4a) ported to RTEMS and everything compiles except some
> > TCL code which tries to determine timezone.
> >
> > FYI, the affected files are:
> > ./tcl8.4a1/generic/tclClock.c
> >
> > and
> > /tcl8.4a1/generic/tclUnixTime.c. "
> >
> > timezone" is undeclared and is causing a compile error in both files.
> >
> > TCL is configured and compiled using the attached Makefile.rtems-tcl.
> >
> > The makefile is placed in ./tcl8.4a1/unix and run using make -f.
> >
> > It appears that the code is configured to fallback to a last-ditch method of
> > determining timezone and that this method is somehow broken.
> >
> > I'm definitely not an expert in Unix time functions (I AM an expert in embedded
> > hardware design, though :) ).
> >
> > I can hack the two affected source files by declaring timezone to make things
> > compile, but this seems inelegant.
> >
> > Does anyone have any suggestions on how to attack this and get things working
> > properly ?
> >
>
> I don't have tcl8.4, but for tcl8.3 you could avoid the timezone
> variable by definining USE_DELTA_FOR_TZ.
>
>
> --
> Eric Norum eric at cls.usask.ca
> Canadian Light Source Phone: (306) 966-6308
> University of Saskatchewan FAX: (306) 966-6058
> Saskatoon, Canada.
>