I have installed g++ from here. When I want to compile a program, I have to use g++-4.9 myle.cpp
.
How can I set it to use without declaring its version g++ myle.cpp
?
I have installed g++ from here. When I want to compile a program, I have to use g++-4.9 myle.cpp
.
How can I set it to use without declaring its version g++ myle.cpp
?
update-alternatives
. See this answer: http://askubuntu.com/a/581497/158442 – muru Apr 13 '15 at 14:55