EasyManua.ls Logo

Intel i960 - Page 137

Intel i960
347 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
ic960 Compiler Driver
3-61
3
6. The following example produces the object file proto.o but no
executable file:
ic960 -c proto.c
7. The following example produces the object files proto.o, t1.o, and
proto1.o in the current directory but creates no executable file:
ic960 -c proto.c t1.s proto1.i
8. The following example lists file dependencies for dtest.c:
The
dtest.c file includes the dinc.h, d2.h, and d3.h files, as
follows:
#include "dinc.h"
#include "d2.h"
#include "d3.h"
The dinc.h file includes the dad.h file, as #include "dad.h".
The
d2.h and d3.h files do not include any files. The following
command compiles
dtest.c with -Q, resulting in the following lines:
ic960 -Q dtest.c
dtest.o: dtest.c
dtest.o: dinc.h
dtest.o: dad.h
dtest.o: d2.h
dtest.o: d3.h
Related Topics
C (Keep-comments)
M (Mix)
o (Output)
V (Verbose)
z (List)

Table of Contents

Related product manuals