cannot compile a test program in gcc

Claudio Bley bley@CS.uni-magdeburg.de
Tue Mar 2 10:18:00 GMT 2004


On Mon, Mar 01, 2004 at 06:02:43PM -0600, Rajaya, Kiran wrote:
> Hello,
> 
> 	I have installed gcc-3.3.2 on our UNIX TRU64 box.  When I tried
> to test run a simple program with the command :
> gcc test.cpp -o test  
> 
> I got the following error.
> 
> gcc: installation problem, cannot exec `cc1plus': No such file or
> directory
> 
> 
> Can anybody please tell me the cause of this problem and how to fix it.

It seems you're missing the C++ compiler of GCC. If you want to compile C++
code you need to install g++ -- and when compiling you should use `g++'
instead of simply `gcc' then.

-- 
Claudio Bley                                 ASCII ribbon campaign (")
Debian GNU/Linux user                         - against HTML email  X 
http://www.cs.uni-magdeburg.de/~bley/                     & vCards / \



More information about the Gcc-help mailing list