Debian Codegraph @

man/coqc.1

raw
1 .TH COQC 1
2 .
3 .SH NAME
4 coqc \- Coq compiler
5 .
6 .
7 .SH SYNOPSIS
8 .B coqc
9 [
10 general Coq options
11 ]
12 .I file
13 .
14 .
15 .SH DESCRIPTION
16 .
17 .B coqc
18 is the batch compiler for the Coq Proof Assistant.
19 The options are basically the same as
20 .BR coqtop (1).
21 .I file.v
22 is the vernacular file to compile.
23 .I file
24 must be formed
25 only with the characters `a' to `Z', `0' to `9' or `_' and must begin
26 with a letter.
27 The compiler produces an object file
28 .IR file.vo \&.
29 .PP
30 For interactive use of Coq, see
31 .BR coqtop (1).
32 .
33 .
34 .SH OPTIONS
35 .
36 .\" TODO: Coqc is not a script. Correct this claim.
37 .B coqc
38 is a script that simply runs
39 .B coqtop
40 with option
41 .BR \-compile .
42 It accepts the same options as
43 .BR coqtop .
44 .
45 .TP
46 .BI \-image \ bin
47 Use
48 .I bin
49 as underlying
50 .B coqtop
51 instead of the default one.
52 .
53 .TP
54 .B \-verbose
55 Print the compiled file on the standard output.
56 .
57 .SH SEE ALSO
58 .
59 .BR coqtop (1),
60 .BR coq_makefile (1),
61 .BR coqdep (1)
62 .PP
63 .I
64 The Rocq Prover Reference Manual.
65 .PP
66 The Rocq Prover website: https://rocq-prover.org