mirror of https://github.com/microsoft/vcpkg.git
Include instructions for CentOS bootstrapping (#4892)
Currently only includes Ubuntu or apt oriented system. CentOS provides similarly working compilers through devtoolsets.
This commit is contained in:
parent
5ff5ab7ae2
commit
3fb47a376f
|
|
@ -181,9 +181,14 @@ selectCXX()
|
|||
gccversion="$(extractStringBetweenDelimiters "$gccversion" "gcc version " ".")"
|
||||
if [ "$gccversion" -lt "6" ]; then
|
||||
echo "CXX ($CXX) is too old; please install a newer compiler such as g++-7."
|
||||
echo "On Ubuntu try the following:
|
||||
echo "sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y"
|
||||
echo "sudo apt-get update -y"
|
||||
echo "sudo apt-get install g++-7 -y"
|
||||
echo "On CentOS try the following:"
|
||||
echo "sudo yum install centos-release-scl"
|
||||
echo "sudo yum install devtoolset-7"
|
||||
echo "scl enable devtoolset-7 bash"
|
||||
return 1
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue