ARM Technical Support Knowledge Articles

C FILE ALWAYS RECOMPILED WHEN CREATING SRC FILES

Applies to: uVision IDE

Answer


Information in this article applies to:


QUESTION

In uVision, 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 uVision 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.

Article last edited on: 2004-06-28 10:18:11

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential