This option specifies the folder to search header files (compile phase/assemble phase).
The header file is searched from only the folder that holds the source file and the standard header file folder (version folder\inc) (compile phase).
The include file is searched from only the folder that holds the source file and the current folder (assemble phase).
This option specifies the folder to search for header files which are loaded by preprocessor directive "#include" and include files which are loaded by the assembler's control instruction "$INCLUDE" as path. |
When inclusion of a file is specified through #include, the folder that holds the file where the #include line is written is searched. When #include specifications are nested, folders are searched in the order from the innermost to the outermost level of the #include nest. |
Path specified by the -I option (If multiple paths are specified, they are searched in the order in which they were specified on the command line (that is, from left to right).) |
The include files of the assembler are searched according to the following sequence.
Path specified by the -I option (If multiple paths are specified, they are searched in the order in which they were specified on the command line (that is, from left to right).) |
To search header files from the current folder, folder D:\include, the standard folder in that order, describe as: |