> > On 21 Feb 2008, at 09:15, Carsten Bager wrote: > > > My problem is that I get UTC time with the 220 compiler on the Arm > > platform, when using gettime, now ---. > > If i compile my program "lt" (local time) with the 220 compiler on > > Linux 386 > > it works as I expects. > > If I compile it to an Arm Linux it fails but if I use the 204 > > compiler it works. > > Under Linux, FPC tries to read the timezone info from (in this order) > > /etc/timezone > /etc/localtime > /usr/lib/zoneinfo/localtime > > I guess the Linux on your Arm device stores it in yet another place > (or one of these files exist but does not contain the correct time > zone info).
As I wrote in my first mail. The same program compiled with the 204 compiler works on the same Arm 9 platform. So the program compiled with the 204 compiler finds the "/etc/localtime" file and reads it. Carsten _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal