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

Date: Sun, 20 Apr 1997 16:59:50 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Peter Jan Piet Kleyn <anarchy AT stad DOT dsl DOT nl>
cc: djgpp AT delorie DOT com
Subject: Re: How do I use DJGPP? missing cc1plus.exe
In-Reply-To: <3354eca5.1354695@news.globalxs.nl>
Message-ID: <Pine.SUN.3.91.970420165929.578J-100000@is>
MIME-Version: 1.0

On Thu, 17 Apr 1997, Peter Jan Piet Kleyn wrote:

> I've just installed a version of DJGPP, but when I trie to compile
> some source, like the one below I get a message that cc1plus.exe is
> missing and that the installation was incomplete. Can anybody help me
> or sent me this file???

As others have told you, make sure your source file has a .c
extension.  If it already has, make sure you type the .c in lower
case, not in upper case.  When GCC sees a file with a .C (as opposed
to .c) extension, it thinks this is a C++ program and tries to call a
C++ compiler which you obviously didn't install.

Btw, you should always tell what command line did you use to compile
your program, because otherwise people here have harder time guessing
what might have been the cause of your problem.

- Raw text -


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