ic960 Compiler Driver
3-47
3
The command-line is:
ic960 -I /usr/home/include /usr/home/src/proto.c
The source text contains:
#include "proto.h"
2. In the following example, the preprocessor searches:
/usr/home/include (the Searchinclude directory)
/usr/local/i960 (the directory specified by I960BASE)
The
I960BASE environment variable is set to /usr/local/i960
The command-line is:
ic960 -I /usr/home/include /usr/home/src/proto.c
The source text contains:
#include <proto.h>
If the preprocessor does not find proto.h, for either of these examples,
the compiler displays the following error message:
ic960 ERROR: "/usr/home/src/proto.c", line 1 -- proto.h:
No such file or directory
Related Topics
#include
I960BASE
I960INC
i
(Preinclude)
Stop-after options
i (Preinclude)
Prepend text file to
primary source files.
i
filename
filename
is the name of a C source text file.