summaryrefslogtreecommitdiff
path: root/debian/coqc.1
blob: baa04a8830b6b67b25375aecfd51035de668870b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
.TH COQ 1 "April 25, 2001"

.SH NAME
coqc \- The Coq Proof Assistant compiler


.SH SYNOPSIS
.B coqc
[
.B general \ Coq \ options
]
.I file


.SH DESCRIPTION

.B coqc
is the batch compiler for the Coq Proof Assistant.
The options are basically the same as coqtop(1).
.IR file.v \&
is the vernacular file to compile.
.IR file \& 
must be formed
only with the characters `a` to  `Z`, `0`-`9` or `_` and must begin
with a letter.
The compiler produces an object file
.IR file.vo \&.

For interactive use of Coq, see 
.BR coqtop(1).


.SH OPTIONS

.TP
.BI \-h
Show the whole list of options of coqc and coqtop.
.TP
.B \-verbose
Compile verbosely.
.TP
.BI \-image\  f
Specify an alternative executable for Coq.
.TP
.B \-t
Keep temporary files.
.TP
.BI \-I\  dir ,\ \-include\  dir
Add directory dir in the include path.
.TP
.BI \-R\  dir\ coqdir
Recursively map physical dir to logical coqdir.
.TP
.B \-src
Add source directories in the include path.
.TP
.BI \-is\  f ,\ \-inputstate\  f
Read state from file
.IR f .coq.
.TP
.B \-nois
Start with an empty state.
.TP
.BI \-outputstate\  f
Write state in file
.IR f .coq.
.TP
.BR \-load\-ml\-object\  f
Load ML object file
.IR f .
.TP
.BI \-load\-ml\-source\  f
Load ML file
.IR f .
.TP
.BI \-l\  f ,\ \-load\-vernac\-source\  f
Load Coq file
.IR f .v
(Load
.IR f .).
.TP
.BI \-lv\  f ,\ \-load\-vernac\-source\-verbose\  f
Load Coq file
.IR f .v
(Load Verbose
.IR f .).
.TP
.BI \-load\-vernac\-object\  f
Load Coq object file
.IR f .vo.
.TP
.BI \-require\  f
Load Coq object file
.IR f .vo
and import it (Require
.IR f .).
.TP
.BI \-compile\  f
Compile Coq file
.IR f .v
(implies
.BR \-batch ).
.TP
.BI \-compile\-verbose\  f
Verbosely compile Coq file
.IR f .v
(implies
.BR \-batch ).
.TP
.B \-opt
Run the native-code version of Coq or Coq_SearchIsos.
.TP
.B \-byte
Run the bytecode version of Coq or Coq_SearchIsos.
.TP
.B \-where
Print Coq's standard library location and exit.
.TP
.B \-v
Print Coq version and exit.
.TP
.B \-q
Skip loading of rcfile.
.TP
.BI \-init\-file\  f
Set the rcfile to
.IR f .
.TP
.BI \-user\  u
Use the rcfile of user
.IR u .
.TP
.B \-batch
Batch mode (exits just after arguments parsing).
.TP
.B \-boot
Boot mode (implies
.B \-q
and
.BR \-batch ).
.TP
.B \-emacs
Tells Coq it is executed under Emacs.
.TP
.BI \-dump\-glob\  f
Dump globalizations in file
.I f
(to be used by
.BR coqdoc (1)).
.TP
.B \-impredicative\-set
Set sort Set impredicative.
.TP
.B \-dont\-load\-proofs
Don't load opaque proofs in memory.
.TP
.B \-xml
Export XML files either to the hierarchy rooted in
the directory 
.B COQ_XML_LIBRARY_ROOT
(if set) or to stdout (if unset).

.SH SEE ALSO

.BR coqtop (1),
.BR coq_makefile (1),
.BR coqdep (1).
.br
.I
The Coq Reference Manual.
.I
The Coq web site: http://coq.inria.fr