I wanted to compile
printf("Hello World!\r\n"); on my Nexus and installed
sudo apt-get install gcc but if I compile using
gcc -x c++ helloworld.cpp -lstdc++ -o helloworld
I get the error
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
It once did run but after reinstalling ubuntu it only shows missing cc1plus error and as I am no specialist (just wanted to run something like
system("service ssh stop"); or so) I want to ask what I can to to repair the gcc.