aboutsummaryrefslogtreecommitdiffstats
path: root/INSTALL.md
diff options
context:
space:
mode:
authorSylvain Boulmé <sylvain.boulme@univ-grenoble-alpes.fr>2021-06-11 11:41:37 +0200
committerSylvain Boulmé <sylvain.boulme@univ-grenoble-alpes.fr>2021-06-11 11:41:37 +0200
commitaf16cdae6d58033cc8aa06bca330f98b96ba12f2 (patch)
tree4985e9ae8fa0d580bbf95a198edeca4f0bd6ff46 /INSTALL.md
parent21c979fce33b068ce4b86e67d3d866b203411c6c (diff)
parent02b169b444c435b8d1aacf54969dd7de57317a5c (diff)
downloadcompcert-kvx-af16cdae6d58033cc8aa06bca330f98b96ba12f2.tar.gz
compcert-kvx-af16cdae6d58033cc8aa06bca330f98b96ba12f2.zip
Merge branch 'BTL' of gricad-gitlab.univ-grenoble-alpes.fr:sixcy/CompCert into BTL
Diffstat (limited to 'INSTALL.md')
-rw-r--r--INSTALL.md13
1 files changed, 11 insertions, 2 deletions
diff --git a/INSTALL.md b/INSTALL.md
index 320191ce..f072a211 100644
--- a/INSTALL.md
+++ b/INSTALL.md
@@ -34,12 +34,21 @@ Install dependencies available through opam
opam install coq menhir
```
+Note: it may happen that a newer version of Coq is not supported yet.
+You may downgrade to solve the problem:
+```
+opam pin add coq 8.11.0 # example of Coq version
+```
+
## Compilation
Pre-compilation configure replace the placeholder with your desired platform
(for Kalray Coolidge it is `kvx-cos`)
```
-./configure <platform>
+./configure -prefix ~/.usr <platform>
```
+
+`PREFIX` is where CompCert will be installed after `make install`
+
If using Kalray's platform, make sure that the kvx tools are on your path
Compile (adapt -j# to the number of cores and available RAM)
```
@@ -48,7 +57,7 @@ make install
```
## Utilization
-`ccomp` binaries are installed at `$(HOME)/.usr/bin`
+`ccomp` binaries are installed at `$(PREFIX)/bin`
Make sure to add that to your path to ease its use
Now you may use it like a regular compiler
```