Skip to content

Commit 69a7676

Browse files
kolerovyaroslavsadin
authored andcommitted
README.md: Add a workaround for building on CentOS 7 (#537)
1 parent 372431e commit 69a7676

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,20 @@ sudo yum install -y autoconf bison bzip2 file flex gcc-c++ git gperf \
103103
which xz
104104
```
105105

106+
The latest Crosstool-NG may require building tools newer than tools which are shipped
107+
with CentOS 7 by default (for example, there are GCC 4.8.5 and Make 3.82). At least
108+
it's not enough anymore for building ARC toolchain for Windows hosts. In this
109+
case consider using `centos-release-scl` repository to install the latest tools:
110+
111+
```shell
112+
# Install fresh tools
113+
sudo yum install centos-release-scl
114+
sudo yum install devtoolset-9
115+
116+
# Enable them in a new Bash session
117+
scl enable devtoolset-9 bash
118+
```
119+
106120
### Fedora & CentOS/RHEL 8.x
107121

108122
#### Enabling "PowerTools" repository for CentOS/RHEL 8.x

0 commit comments

Comments
 (0)