Adding g++ to the version checks

This commit is contained in:
Pierre Labastie 2013-04-03 20:29:46 +00:00
parent c1dd44c9db
commit eecee981c4

View file

@ -90,6 +90,7 @@ check_prerequisites() { #
check_version "2.6.25" "`uname -r`" "KERNEL" check_version "2.6.25" "`uname -r`" "KERNEL"
check_version "3.2" "$BASH_VERSION" "BASH" check_version "3.2" "$BASH_VERSION" "BASH"
check_version "4.1.2" "`gcc -dumpversion`" "GCC" check_version "4.1.2" "`gcc -dumpversion`" "GCC"
check_version "4.1.2" "`g++ -dumpversion`" "G++"
check_version "2.5.1" "$(ldd --version | head -n1 | awk '{print $NF}')" "GLIBC" check_version "2.5.1" "$(ldd --version | head -n1 | awk '{print $NF}')" "GLIBC"
check_version "2.17" "$(ld --version | head -n1 | awk '{print $NF}')" "BINUTILS" check_version "2.17" "$(ld --version | head -n1 | awk '{print $NF}')" "BINUTILS"
check_version "1.18" "$(tar --version | head -n1 | cut -d" " -f4)" "TAR" check_version "1.18" "$(tar --version | head -n1 | cut -d" " -f4)" "TAR"