Skip to content
Snippets Groups Projects
Commit eadf32bb authored by Loïc Correnson's avatar Loïc Correnson
Browse files

Merge branch 'fix/andre/install-tips-macos' into 'master'

[Doc] add installation tips for macOS

See merge request frama-c/frama-c!2333
parents 8bc5a5b8 b885fb56
No related branches found
No related tags found
No related merge requests found
......@@ -208,30 +208,45 @@ We recommend to rely on it for the installation of Frama-C.
Do not forget to `opam init` and ``eval `opam config env` `` for a proper
opam installation (if not already done before on your machine).
2. Install *required* dependencies for Frama-C:
2. Set up a compatible OCaml version (replace `<version>` with the version
indicated in the 'recommended working configuration' section):
```shell
opam switch create <version>
```
3. Install *required* dependencies for Frama-C:
```shell
brew install gmp gtk+ gtksourceview libgnomecanvas
```
3. Install *recommended* dependencies for Frama-C:
4. Install *recommended* dependencies for Frama-C:
```shell
brew install graphviz
opam install why3
```
4. Install *optional* dependencies for Frama-C/WP:
5. Install *optional* dependencies for Frama-C/WP:
```shell
opam install coq coqide why3-coq
```
5. Install Frama-C:
6. Install Frama-C:
```shell
opam install frama-c
```
**Note:** for some packages, Homebrew may emit *caveats* about the
necessity of manually setting environment variables,
e.g. for `libffi`.
If installation of some opam package fails, the error message
should hopefully indicate which packages are causing it.
Reinstalling these Homebrew packages can provide details and
help solve the issue.
## Installing Frama-C via your Linux distribution (Debian/Ubuntu/Fedora)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment