このページの2つのバージョン間の差分を表示します。
次のリビジョン | 前のリビジョン | ||
tools:compiler:gcc:ubuntu [2020/12/02 07:22] michiya 作成 |
tools:compiler:gcc:ubuntu [2021/01/09 14:37] (現在) |
||
---|---|---|---|
行 1: | 行 1: | ||
- | ====== Gcc version 10 ====== | + | ====== Gcc ====== |
- | ===== Ubuntu 18.04 ===== | + | ===== Gcc ===== |
- | 普段通りaptを実行しても対応していないため,gcc10を含むリポジトリを追加. | + | < |
+ | # apt install gcc g++ gfortran | ||
+ | </ | ||
+ | |||
+ | ===== Gcc 10 ===== | ||
+ | |||
+ | 普段通り"apt install" | ||
< | < | ||
add-apt-repository ppa: | add-apt-repository ppa: | ||
apt update | apt update | ||
- | apt install gcc-10 g++-10 | + | apt install gcc-10 g++-10 |
</ | </ |