delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/09/29/15:04:13

From: Bill Galbraith <BILLG AT p3 DOT enzian DOT com>
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Date: Fri, 29 Sep 1995 14:24:20 EDT
Subject: Time zone for Makefile

FYI:

I recently had a problem with a Makefile running under MSDOS 6.22.
It compiles FORTRAN code using the F2C compiler, and stuffs the object 
into a library. The Makefile compares the time of the object in the 
library against the time of the FORTRAN source file, and recompiles 
if the source file has been recently touched. Make was constantly 
recompiling files that I have been working on in the last hour. I 
traced this problem down to the fact that the time Make was using was 
1 hour behind my computer time. I could find very little info on this 
subject, but the solution (at least for us folk living on the east 
coast of the U.S) is to set the environment variable:

   SET TZ=EST5
   
There was nothing in the documentation for DJGPP concerning this. 
This may be of some assistance to some of you.

XOXOX,

Bill

---------------------------------------------------------------------
|  billg AT enzian02 DOT enzian DOT com         "Laughing on the way to your   |
|                                     execution is not generally    |
|                                     understood by lower life      |
|                                     forms.                        |
---------------------------------------------------------------------

- Raw text -


  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019