11.2 Batch compilation (coqc)
The coqc command takes a name file as argument. Then it
looks for a vernacular file named file.v, and tries to
compile it into a file.vo file (See 5.4).
With the -i option, it compiles the specification module file.vi.
Warning: The name file must be a regular Coq identifier, as
defined in the section 1.1. It
must only contain letters, digits or underscores
(_). Thus it can be /bar/foo/toto.v but not
/bar/foo/to-to .
Notice that the -opt and -full options are still
available with coqc and allow you to compile Coq files with
an efficient version of the system.