ARM Technical Support Knowledge Articles

SPECIFYING HEADER PATHS FROM THE COMMAND LINE

Applies to: C51 C Compiler

Answer


Information in this article applies to:


QUESTION

When compiling from the command line, is there a switch to let me specify the path to my include files?

ANSWER

Yes.  You may use the INCDIR directive to tell the compiler which paths to search when locating include files.  For example:

C51 SAMPLE.C INCDIR(C:MYINC;C:CHIP_DIR)

MORE INFORMATION

SEE ALSO

Article last edited on: 2006-06-19 08:25:33

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