 RealView Compiler User's Guide |
|
| The search pathTable 2.2 shows how the command‑line options affect the search path used by the compiler when it searches for included header and source files. Table 2.2. Include file search paths | Compiler option | <include> search order | "include" search order |
|---|
Neither ‑I nor ‑J | RVCT31INCdirs | CP, RVCT31INCdirs | ‑I
| RVCT31INCdirs, Idirs | CP, Idirs, RVCT31INCdirs | ‑J
| Jdirs | CP, and Jdirs | Both ‑I and ‑J | Jdirs, Idirs | CP, Idirs, Jdirs | ‑‑sys_include
| No effect | Removes CP from the search path | ‑‑kandr_include
| No effect | Uses Kernighan and Ritchie search rules |
In Table 2.2: RVCT31INCdirsList of directories specified by the RVCT31INC environment variable, if set. CPThe current place. Idirs and JdirsDirectories specified by the ‑Idirs and ‑Jdirs compiler options.
|
|