LoginSignup
0
0

More than 5 years have passed since last update.

古いUbuntuにCryptominisat4をインストールする方法

Last updated at Posted at 2015-04-06

Cryptominisat4をインストールするのに、g++-4.8以降が必要だったので、How to Install GCC 4.8 via PPA in Ubuntu 12.04, 13.04, 10.04 にあるように、

$ sudo add-apt-repository ppa:ubuntu-toolchain-r/test
$ sudo apt-get update
$ sudo apt-get install gcc-4.8 g++-4.8

とした上で、CMakeでデフォルトのコンパイラを書き換える微妙な方法を参考に、

$ mkdir build
$ cd build
$ cmake -DCMAKE_CXX_COMPILER=g++-4.8 ..
$ make -j4

とした。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0