Skip to content
Snippets Groups Projects
Commit a4cc438f authored by Pietro Incardona's avatar Pietro Incardona
Browse files

install gcc for Archlinux

parent 62da31d3
No related branches found
No related tags found
No related merge requests found
......@@ -18,7 +18,14 @@ if [ x"$1" = x"osx" ]; then
compiler_gcc="gcc-4.9"
compiler_gpp="g++-4.9"
elif [ x"$1" = x"linux" ]; then
if [ x"$pcman" == x"yum" ]; then
if [ x"$pcman" == x"pacman" ]; then
commands[0]="su -c \"$pcman -Sy gcc\""
commands[1]="sudo $pcman -Sy gcc"
possible_solutions "${commands[@]}"
compiler_gcc="gcc"
compiler_gpp="g++"
elif [ x"$pcman" == x"yum" ]; then
commands[0]="su -c \"$pcman install gcc-c++\""
commands[1]="sudo $pcman install gcc-c++"
possible_solutions "${commands[@]}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment