COQNATIVE(1)
π COQNATIVE(1) π
okay bestie, so this is the manual page for coqnative, and it lives in the General Commands Manual section of your friendly neighbourhood Unix docs. grab a snack, we're doing compilers π
β¨ NAME β¨
coqnative β the native Coq compiler π
πΈ SYNOPSIS πΈ
coqnative [ options ] filename
π¦ DESCRIPTION π¦
so what does she actually do. coqnative takes vo files and compiles them into binary files β the kind the native compute mechanism of the Coq Proof Assistant uses. that's the whole vibe. if you want the deep lore, go read the Reference Manual, she's got all of it.
exit code tea β: she returns with exit code 0 if all the requested tasks succeeded. a non-zero return code means something went wrong. no cap, that's your red flag π©
filename is a Coq object file (a .vo) that you want compiled into a native binary. that's the one job. iconic of her honestly.
π OPTIONS π
-Qdir coqdir β maps a physical dir to a logical coqdir. lowkey a glow-up for your paths β¨-Rdir coqdir β synonymous to-Q. literally the same thing, just a different name, we love a flexible queen π«Ά-Idir β ignored, kept around for compatibility. she's just there, existing, doing nothing, and honestly? respect π-noinitβ also ignored, also for compatibility. another ghost in the machine π»-bootβ boot mode. yes bestie, we're booting π₯Ύ-coqlibdir β overrides the default location of the standard library. moving the whole library, no big deal, main character energy π-nIdir β adds dir to the set of paths for the native files of the dependencies. dependency errand run, but make it β¨-native-output-dirdir β outputs the generated files into dir. your files, your folder, your rules π-h,--helpβ prints the list of options. the classic "help me pls" move, always valid π
π SEE ALSO π
coqtop(1)coqc(1)coq_makefile(1)coqdep(1)- The Rocq Prover Reference Manual π
- The Rocq Prover website:
https://rocq-prover.orgπ
β quick reminder bestie:-Iand-noinitare ignored, for compatibility. they're decorative. they're accessories. they do nothing and that's on purpose π
and that's the page!! this was the coqnative(1) manpage, filed under the General Commands Manual, and she said goodbye in the exact same font she said hello in. mwah, go compile something cute ππ¦β¨
π¦ where this page comes from
- alpine 3.24: rocq-doc 9.1.1-r3 Β· LGPL-2.1-or-later
- arch rolling: rocq 9.3.0-1 Β· LGPL-2.1-only
- fedora 44: coq-core-compat 9.1.1-1.fc44 Β· LGPL-2.1-only AND LGPL-2.1-only WITH OCaml-LGPL-linking-exception AND MIT AND BSD-3-Clause
- fedora 44: coq-core-compat 9.3.0-1.fc44 Β· LGPL-2.1-only AND LGPL-2.1-only WITH OCaml-LGPL-linking-exception AND MIT AND BSD-3-Clause
- nixos 26.05: coq 9.2.0
- nixpkgs unstable: coq 9.1.1
- ubuntu stonking: coq 9.2.0+dfsg-4build2 Β· LGPL-2.1-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms