Hey men
I'm using ubuntu 8.04.1.when I wanna compile a c++ source code with gcc,it says:
gcc:error trying to exec 'cc1plus':execvp:no such file or directory

Recommended Answers

All 2 Replies

sudo apt-get install g++

and you probably want to compile it with g++ not gcc

yeah gcc is for c and g++ for c++

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.