Mail Archives: djgpp/1998/04/16/03:35:45
From: | "John M. Aldrich" <fighteer AT cs DOT com>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Re: problems with compiling .cc files
|
Date: | Tue, 14 Apr 1998 22:47:06 -0400
|
Organization: | Two pounds of chaos and a pinch of salt.
|
Lines: | 41
|
Message-ID: | <35341FAA.467E@cs.com>
|
References: | <353419EE DOT 795A AT 214 DOT 98 DOT 1 DOT 1>
|
NNTP-Posting-Host: | ppp203.cs.com
|
Mime-Version: | 1.0
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
bob berkawitx wrote:
>
> Whenever I try to compile a .cc file I get this error:
> gcc.exe: installation problem, cannot exec 'cc1plus':No such file or
> directory(ENOENT)
>
> I do have the c++ components of djgpp installed. Though, I'm not sure
> they are installed correctly. How can I fix this?
> Thanks in advance.
The C++ components of DJGPP are 'v2gnu/gpp280b.zip' and
'v2gnu/lgpp280b.zip', assuming that you are also using gcc280b.zip. If
you are using gcc2721b.zip, then you need gpp2721b.zip and lgp271b.zip
instead. The two versions are not compatible; you should delete all
files from any previous version before upgrading to the new one. Of
course, you need the core C compiler as well (djdev201.zip,
gcc2721/280b.zip, bnu281b.zip).
You unzip the files in exactly the same way as you do the rest of the
DJGPP packages; from your main DJGPP directory, preserving the directory
structure in the zipfiles.
Do you have one of the following: %DJDIR%/bin/cc1plus.exe, or
%DJDIR%/lib/gcc-lib/djgpp/2.80/cc1plus.exe? If the former, then you
have 2.7.2.1. If the latter, you have 2.8.0.
Have you only tried compiling C++ programs, or can you also not compile
C programs? If you can't compile anything at all, then you've probably
configured your environment incorrectly; see 'readme.1st' for
instructions.
If you are still stuck, post a complete system report as outlined in
chapter 6.12 of the DJGPP Frequently Asked Questions list.
--
---------------------------------------------------------------------
| John M. Aldrich | "A woman is not property, and hus- |
| aka Fighteer I | bands who think otherwise are living |
| mailto:fighteer AT cs DOT com | in a dreamworld." |
| http://www.cs.com/fighteer | - Lazarus Long |
---------------------------------------------------------------------
- Raw text -