Keil Logo

µVISION: BUILD TARGET ALWAYS RECOMPILES ALL FILES


Information in this article applies to:

  • µVision Version 2.04

SYMPTOMS

µVision retranslates all files in my project when I'm using Project - Build target. However, I have made no changes to my files and the the µVision built-in MAKE should check the timestamp to see that there are no changes.

CAUSE

µVision uses file dependency information that is stored in the object files by the compiler, assembler, and linker. To create a standard time that is valid worldwide, the toolchain uses the time zone setting of your computer. However, this timezone setting must be consistently used by your computer.

Windows 32-bit command line programs (this is the compiler and linker) use the environment variable TZ to determine the time zone where you are located. This environment variable is not used by the Windows application µVision. If the TZ definition of the time zone is not the same as the setting under My Computer - Control Panel - Date/Time / Time Zone, then µVision thinks that the creation time has changed and retranslates the file.

RESOLUTION

Check to see if you have an environment variable named TZ. It is best to remove this environment variable completely. If you have concerns that other programs will not work without this environment variable, make the setting consistent with the selection under My Computer - Control Panel - Date/Time / Time Zone.

SEE ALSO

FORUM THREADS

The following Discussion Forum threads may provide information related to this topic.

Last Reviewed: Tuesday, June 29, 2004


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.