Re: cannot compile a test program in gcc

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

 



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 / \

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux