View Full Version : C++ Compiler Problem

9th December 2014, 07:46 PM
I have c++ programs that I have been compiling in Fedora 17.

I recently upgraded to Fedora 20 and installed the development tools. Now when I try to compile the program using the following:

gcc -lm source.cpp

I get the following error

gcc: error trying to exec 'cc1plus': execvp: No such file or directory.

Does anybody know what this means, and how do I fix it?

9th December 2014, 07:55 PM
Googling that message I got a number of hits - this was one:


Don't know if it helps ...

9th December 2014, 07:57 PM
Looks like someone had a similar problem here:


9th December 2014, 08:35 PM
lightman47 and Steve80289:

Thank you very much for your help. I installed gcc-c++ per lightman47's link, and the problem cleared up.