delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/04/26/17:20:14

From: Erik Max Francis <max AT alcyone DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: cannot exec 'cc1plus'
Date: Sat, 26 Apr 1997 13:16:28 -0700
Organization: Alcyone Systems
Lines: 24
Message-ID: <3362629C.62CEE35F@alcyone.com>
References: <335E6BE4 DOT 39D5 AT ms6 DOT hinet DOT net>
NNTP-Posting-Host: newton.alcyone.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Po-Ta Tseng wrote:

> I compiled my first program "hello.c",
> but I got the following message:
> 
> gcc.exe: installation problem, cnnnot exec 'cc1plus': No such
> file or directory (ENOENT).
> 
> Please tell me why?

This means that in actually you're trying to compile a C++ program.  Did
you type HELLO.C in all uppercase?  gcc is a Unix port, and so is case
sensitive; you should be careful where you type uppercase and where you
type lowercase.  In gcc, the file extension .C is different from .c; the
former is equivalent to .cc and tells the compiler that you're trying to
compile a C++ program.  Use hello.c instead.

-- 
       Erik Max Francis, &tSftDotIotE / email / max AT alcyone DOT com
                     Alcyone Systems /   web / http://www.alcyone.com/max/
San Jose, California, United States /  icbm / 37 20 07 N  121 53 38 W
                                   \
                      "The future / is right there."
                                 / Bill Moyers

- Raw text -


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