[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: problem compiling C++



On Nov 21, 2007 10:44 AM, Lowell Thomas <lowell@coasttocoastresearch.com> wrote:
> I just recently installed Debian 4.0r1. It is my first experience with
> Debian or GNU/Linux. I've been building and running C programs just fine
> with gcc. However, I'm unable to compile C++ programs. The command g++
> returns "program not found" and
> gcc main.cpp
> returns the error
> gcc: error trying to exec 'cclplus': execvp: No such file or directory
>
> Any suggestions would be greatly appreciated.

The various gcc compilers are packaged separately.  You probably want
to install the package "g++".

-- 
Michael A. Marsh
http://www.umiacs.umd.edu/~mmarsh
http://mamarsh.blogspot.com
http://36pints.blogspot.com



Reply to: