Skip to content

Commit 3decb9d

Browse files
committed
troubleshooting for GCC >=6.3.0
1 parent 01cb5ad commit 3decb9d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,14 @@ It is possible to build GCC trunk version from sources while reusing native Linu
4545
$ ck install package:compiler-gcc-any-src-linux-no-deps
4646
```
4747

48+
If you have some errors when building GCC >=6.x compilers with older GCC 5.x compiler, while gcc-6 is also available,
49+
you can use the following command line to fix them:
50+
51+
```
52+
$ export CC=gcc-6 ; export CXX=g++-6 ; ck install package:compiler-gcc-any-src-linux-no-deps
53+
```
54+
55+
4856
It is also possible to rebuild various deps for GCC via CK (such as GMP, MPFR, PPL, MPC, etc) and then install GCC via
4957
```
5058
$ ck install package:compiler-gcc-any-src-linux

0 commit comments

Comments
 (0)