diff options
author | Stephane Glondu <steph@glondu.net> | 2013-05-08 18:03:54 +0200 |
---|---|---|
committer | Stephane Glondu <steph@glondu.net> | 2013-05-08 18:03:54 +0200 |
commit | db38bb4ad9aff74576d3b7f00028d48f0447d5bd (patch) | |
tree | 09dafc3e5c7361d3a28e93677eadd2b7237d4f9f /INSTALL | |
parent | 6e34b272d789455a9be589e27ad3a998cf25496b (diff) | |
parent | 499a11a45b5711d4eaabe84a80f0ad3ae539d500 (diff) |
Merge branch 'experimental/upstream' into upstream
Diffstat (limited to 'INSTALL')
-rw-r--r-- | INSTALL | 54 |
1 files changed, 28 insertions, 26 deletions
@@ -1,5 +1,5 @@ - INSTALLATION PROCEDURES FOR THE COQ V8.3 SYSTEM + INSTALLATION PROCEDURES FOR THE COQ V8.4 SYSTEM ----------------------------------------------- @@ -15,8 +15,8 @@ WHAT DO YOU NEED ? ppc) and FreeBSD. Automated tests are run under many, many different architectures under GNU/Linux. - Naturally, Coq will run faster on an architecture where Objective Caml - can compile to native code, rather than only bytecode. At time of + Naturally, Coq will run faster on an architecture where OCaml can + compile to native code, rather than only bytecode. At time of writing, that is IA32, PowerPC, AMD64, Alpha, Sparc, Mips, IA64, HPPA and StrongArm. See http://caml.inria.fr/ocaml/portability.en.html for details. @@ -39,16 +39,12 @@ WHAT DO YOU NEED ? urpmi coq - Should you need or prefer to compile Coq V8.3 yourself, you need: + Should you need or prefer to compile Coq V8.4 yourself, you need: - - Objective Caml version 3.10.2 or later + - Objective Caml version 3.11.2 or later (available at http://caml.inria.fr/) - For Objective Caml version >= 3.10.0, you also need to install - camlp5 (use "transitional" mode and choose a version compatible - with the corresponding version of Objective Caml, however - avoiding version 5.00) - + - Camlp5 (version <= 4.08, or 5.* transitional) - GNU Make version 3.81 or later ( @@ -75,6 +71,9 @@ WHAT DO YOU NEED ? - for Coqide, the Lablgtk development files, and the GTK libraries, see INSTALL.ide for more details + By FTP, Coq comes as a single compressed tar-file. You have + probably already decompressed it if you are reading this document. + QUICK INSTALLATION PROCEDURE. ============================= @@ -88,7 +87,7 @@ QUICK INSTALLATION PROCEDURE. INSTALLATION PROCEDURE IN DETAILS (NORMAL USERS). ================================================= -1- Check that you have the Objective Caml compiler version 3.10.2 (or later) +1- Check that you have the Objective Caml compiler version 3.11.2 (or later) installed on your computer and that "ocamlmktop" and "ocamlc" (or its native code version "ocamlc.opt") lie in a directory which is present in your $PATH environment variable. @@ -98,16 +97,23 @@ INSTALLATION PROCEDURE IN DETAILS (NORMAL USERS). bigger), you will also need the "ocamlopt" (or its native code version "ocamlopt.opt") command. -2- If using Ocaml >= 3.10, check that you have Camlp5 installed on your - computer and that the command "camlp5" lies in a directory which +2- Check that you have Camlp4 installed on your + computer and that the command "camlp4" lies in a directory which is present in your $PATH environment variable path. - (You need Camlp5 in transitional mode and in both bytecode and - native versions if your platform supports it). + (You need Camlp4 in both bytecode and native versions if + your platform supports it). + + Note: in the latest ocaml distributions, camlp4 comes with ocaml so + you do not have to check this point anymore. -2- You will need about 400Mo free on your disk to compile Coq in full - with its standard library and documentation. +3- The uncompression and un-tarring of the distribution file gave birth + to a directory named "coq-8.xx". You can rename this directory and put + it wherever you want. Just keep in mind that you will need some spare + space during the compilation (reckon on about 50 Mb of disk space + for the whole system in native-code compilation). Once installed, the + binaries take about 14 Mb, and the library about 9 Mb. -3- First you need to configure the system. It is done automatically with +4- First you need to configure the system. It is done automatically with the command: ./configure <options> @@ -149,10 +155,6 @@ INSTALLATION PROCEDURE IN DETAILS (NORMAL USERS). Use the ocamlc.opt compiler instead of ocamlc (and ocamlopt.opt compiler instead of ocamlopt). Makes compilation faster (recommended). --nowarnings - Disable the Objective Caml compiler warnings. This option has no - effect on the result of the compilation. - -browser <command> Use <command> to open an URL in a browser. %s must appear in <command>, and will be replaced by the URL. @@ -201,7 +203,7 @@ INSTALLATION PROCEDURE FOR ADVANCED USERS. binaries will reside in the subdirectory bin/. If you want to compile the sources for debugging (i.e. with the option - -g of the ocaml compiler) then add the -debug option at configuration + -g of the Caml compiler) then add the -debug option at configuration step : ./configure -debug <other options> @@ -316,7 +318,7 @@ MOVING BINARIES OR LIBRARY. DYNAMICALLY LOADED LIBRARIES FOR BYTECODE EXECUTABLES. ====================================================== - Some bytecode executables of Coq use the ocaml runtime, which dynamically + Some bytecode executables of Coq use the OCaml runtime, which dynamically loads a shared library (.so or .dll). When it is not installed properly, you can get an error message of this kind: @@ -329,12 +331,12 @@ DYNAMICALLY LOADED LIBRARIES FOR BYTECODE EXECUTABLES. the command a limited number of times in a controlled environment (e.g. during compilation of binary packages); - install dllcoqrun.so in a location listed in the file ld.conf that is in - the directory of the standard library of Objective Caml; + the directory of the standard library of OCaml; - recompile your bytecode executables after reconfiguring the location of of the shared library: ./configure -coqrunbyteflags "-dllib -lcoqrun -dllpath <path>" ... where <path> is the directory where the dllcoqrun.so is installed; - - (not recommended) compile bytecode executables with a custom ocaml + - (not recommended) compile bytecode executables with a custom OCaml runtime by using: ./configure -custom ... be aware that stripping executables generated this way, or performing |