Skip to content

Commit 7e406cd

Browse files
author
Daniel Kroening
authored
Merge pull request #682 from jgwilson42/compiling_update
Updates to compiling instructions for GCC 6
2 parents 96c9e65 + 903d243 commit 7e406cd

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

COMPILING

+4-3
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ We assume that you have a Debian/Ubuntu or Red Hat-like distribution.
3636

3737
On Red Hat/Fedora or derivates, do
3838

39-
yum install gcc gcc-c++ flex bison perl-libwww-perl patch
39+
yum install gcc gcc-c++ flex bison perl-libwww-perl patch devtoolset-6
4040

4141
Note that you need g++ version 5.2 or newer.
4242

@@ -48,13 +48,14 @@ We assume that you have a Debian/Ubuntu or Red Hat-like distribution.
4848

4949
cd cbmc-git/src
5050
make minisat2-download
51-
make
51+
make CXX=g++-6
5252

5353
On Redhat/Fedora etc., do
5454

5555
cd cbmc-git/src
5656
make minisat2-download
57-
make CXX=g++-6
57+
scl enable devtoolset-6 bash
58+
make
5859

5960

6061
COMPILATION ON SOLARIS 11

0 commit comments

Comments
 (0)