Keil™, An ARM® Company

Technical Support

µVISION: C FILE ALWAYS RECOMPILED WHEN CREATING SRC FILES


Information in this article applies to:

  • µVision Version 2.10

QUESTION

In µVision, when I select Create Assembler SRC File from the C File Options dialog, the C file is ALWAYS recompiled even if there are no changes. Is this necessary or required?

ANSWER

Yes. The C file must be recompiled each time because of the method µVision uses to track file dependencies. With the Keil compiler and assembler, file dependencies are stored in the .OBJ file. When you generate a .SRC file from a .C file, no .OBJ file is built. Therefore, the file dependency information is not generated. And, the C file must be recompiled each time you update the project.

Last Reviewed: Monday, June 28, 2004


Did this article provide the answer you needed?
 
Yes
No
Not Sure