Skip to content

Commit

Permalink
Update README with min version of gcc.
Browse files Browse the repository at this point in the history
The gcc-9 mentioned before only had c++17 compatibility as
experimental feature, in particular library completeness.
Suggest g++ 10 as minimum (which is already very old at this point,
so should not be a problem).
  • Loading branch information
hzeller committed Jul 22, 2023
1 parent edfca85 commit 8c8c057
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,8 @@ guide and the [development resources](./doc/development.md).

Verible's code base is written in C++.

To build, you need the [bazel] (>= 4.0) build system and a C++17 compatible compiler
(e.g. >= g++-9), as well as python3.
To build, you need the [bazel] (>= 4.0) build system and a C++17 compatible
compiler (e.g. >= g++-10), as well as python3.

Use your package manager to install the dependencies; on a system with
the nix package manager simply run `nix-shell` to get a build environment.
Expand All @@ -194,7 +194,8 @@ shared libraries, you can use custom config
instead of default `gold` linker).

```bash
# Generates statically linked executables
# Generate statically linked executables.
# Uses bfd linker and needs static system libs available.
bazel build -c opt --config=create_static_linked_executables //...
```

Expand Down

0 comments on commit 8c8c057

Please sign in to comment.