public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* cannot compile a test program in gcc
@ 2004-03-02  0:02 Rajaya, Kiran
  2004-03-02 10:18 ` Claudio Bley
  0 siblings, 1 reply; 2+ messages in thread
From: Rajaya, Kiran @ 2004-03-02  0:02 UTC (permalink / raw)
  To: gcc-help

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.

Thanks,

-Kiran

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: cannot compile a test program in gcc
  2004-03-02  0:02 cannot compile a test program in gcc Rajaya, Kiran
@ 2004-03-02 10:18 ` Claudio Bley
  0 siblings, 0 replies; 2+ messages in thread
From: Claudio Bley @ 2004-03-02 10:18 UTC (permalink / raw)
  To: gcc-help

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-03-02 10:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-02  0:02 cannot compile a test program in gcc Rajaya, Kiran
2004-03-02 10:18 ` Claudio Bley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).