aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
authorGravatar letouzey <letouzey@85f007b7-540e-0410-9357-904b9bb8a0f7>2012-08-23 12:52:51 +0000
committerGravatar letouzey <letouzey@85f007b7-540e-0410-9357-904b9bb8a0f7>2012-08-23 12:52:51 +0000
commit12def92b4cecdbe2fc8242bc451f4ee0d86c0eb8 (patch)
tree643aeaeee3c72ca4e3ae84440c9ac950fbdfdeb8 /lib
parent492ad5ad0b4c55610c9896436d2165ac22b527a6 (diff)
No more states/initial.coq, instead coqtop now requires Prelude.vo
For starting a bare coqtop, the recommended option is now "-noinit" that skips the load of Prelude.vo. Option "-nois" is kept for compatibility, it is now an alias to "-noinit". git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@15753 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'lib')
-rw-r--r--lib/envars.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/envars.ml b/lib/envars.ml
index 0fd55d3fc..b4c72b130 100644
--- a/lib/envars.ml
+++ b/lib/envars.ml
@@ -82,7 +82,7 @@ let reldir instdir testfile oth =
if Sys.file_exists (Filename.concat out testfile) then out else oth ()
let guess_coqlib fail =
- let file = "states/initial.coq" in
+ let file = "theories/Init/Prelude.vo" in
reldir (if Coq_config.arch = "win32" then ["lib"] else ["lib";"coq"]) file
(fun () ->
let coqlib = match Coq_config.coqlib with