www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/04/24/11:47:07

From: Robert Hoehne <Robert DOT Hoehne AT Mathematik DOT tu-chemnitz DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: cannot exec 'cc1plus'
Date: Thu, 24 Apr 1997 16:03:48 +0200
Organization: TU Chemnitz-Zwickau
Lines: 29
Message-ID: <335F6844.D31EE51@Mathematik.tu-chemnitz.de>
References: <335E6BE4 DOT 39D5 AT ms6 DOT hinet DOT net>
NNTP-Posting-Host: pandora.hrz.tu-chemnitz.de
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Po-Ta Tseng wrote:
> 
> gcc.exe: installation problem, cnnnot exec 'cc1plus': No such
> file or directory (ENOENT).

Probably (99%) you have invoked gcc someting like that:

gcc -c HELLO.C

Note here the capital letters. gcc is case sensetive
when compiling a source file and in that case, a file
with the suffix .C (the capital C) is treated as a
C++ source file and so gcc tries to run cc1plus
(the real C++ compiler) which you haven't installed.

Try to run gcc like the following:

gcc -c hello.c

an everything should work.

Robert
-- 
*****************************************************************
* Robert Hoehne, Fakultaet fuer Mathematik, TU-Chemnitz-Zwickau *
* Post:    Am Berg 3, D-09573 Dittmannsdorf                     *
* e-Mail:  Robert DOT Hoehne AT Mathematik DOT TU-Chemnitz DOT DE              *
* WWW:     http://www.tu-chemnitz.de/~rho                       *
*****************************************************************

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019