1: 2019-07-01 (月) 19:45:26 iseki  |
現: 2019-07-01 (月) 21:05:00 iseki  |
| - | GCC-4.8 | + | ** gcc [#k005a78e] |
| | + | #br |
| | + | *** gcc-4.8 for CentOS6 [#c6c6e55e] |
| | + | **** インストールの準備 [#w35dac82] |
| | + | yum install scl-utils |
| | | | |
| - | yum install scl-utils | + | **** リポジトの追加とインストール [#g2288e8f] |
| - | | + | cd /etc/yum.repos.d/ |
| - | # cd /etc/yum.repos.d/ | + | wget http://people.centos.org/tru/devtools-2/devtools-2.repo |
| - | # wget http://people.centos.org/tru/devtools-2/devtools-2.repo | + | yum install devtoolset-2-gcc devtoolset-2-binutils |
| - | # yum install devtoolset-2-gcc devtoolset-2-binutils | + | yum install devtoolset-2-gcc-c++ devtoolset-2-gcc-gfortran |
| - | # yum install devtoolset-2-gcc-c++ devtoolset-2-gcc-gfortran | + | - /opt/rh/devtoolset-2/root/ 以下にインストールされる |
| - | | + | #br |
| - | /opt/rh/devtoolset-2/root/ | + | *** 環境 [#h325ff7b] |
| - | | + | scl enable devtoolset-2 bash |
| - | scl enable devtoolset-2 bash | + | または |
| - | source /opt/rh/devtoolset-2/enable | + | source /opt/rh/devtoolset-2/enable |
|
|
| |