delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/07/08/13:57:03

Date: Sun, 08 Jul 2001 20:56:29 +0300
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: "chris.danx" <chris DOT danx AT ntlworld DOT com>
Message-Id: <2593-Sun08Jul2001205624+0300-eliz@is.elta.co.il>
X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.9
CC: djgpp AT delorie DOT com
In-reply-to: <KJ027.12048$B56.2061941@news2-win.server.ntlworld.com>
(chris DOT danx AT ntlworld DOT com)
Subject: Re: cc1plus?
References: <ZwK17.5449$WS4 DOT 827014 AT news6-win DOT server DOT ntlworld DOT com> <w4%17.11466$B56 DOT 1968162 AT news2-win DOT server DOT ntlworld DOT com> <994607565 DOT 519573 AT queeg DOT ludd DOT luth DOT se> <KJ027.12048$B56 DOT 2061941 AT news2-win DOT server DOT ntlworld DOT com>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> From: "chris.danx" <chris DOT danx AT ntlworld DOT com>
> Newsgroups: comp.os.msdos.djgpp
> Date: Sun, 8 Jul 2001 18:28:22 +0100
> >
> > : I ran a search for cc1plus in the djgpp directory and it came up with
> > : D:\Djgpp\lib\gcc-lib\djgpp\2.952.  I have my path set like this
> >
> > And where is "cc1"?
> 
> in that directory.
> 
> 
> > : SET PATH=D:\DJGPP\BIN;%PATH%
> > : SET DJGPP=D:\DJGPP\DJGPP.ENV
> > : SET TMPDIR=c:\Windows\Temp
> >
> > Looks good.
> >
> > : and I moved to d:\djgpp\src and typed make.  I get the following error
> >
> > : gcc.exe: installation problem, cannot exec 'cc1plus':no such file or
> directory
> > : (ENOENT)
> >
> > And what does "gcc --version" say? (I suspect you have mixed versions
> > of gcc and cc1plus.)
> 
> 2.81, but that is because GNAT for DOS is installed, and is built
> with the GCC 2.81 sources and DJGPP v2.

This is your problem, right there: you are mixing several different
versions of GCC.  Down that path is madness.

I understand that you want to build the library for GNAT, and that
GNAT is based on GCC 2.8.1.  Is that true?

If that's true, I'd first suggest to find a version of GNAT that is
based on a newer version of GCC; 2.8.1 is _very_ old.

In any case, you must download the same version of the C++ compiler as
the version of GCC that you are using.  For GCC 2.8.1, get
gpp281b.zip; for GCC 2.95.3, get gpp2953b.zip.  Do _NOT_ mix different
versions, since it will _never_ work.

- Raw text -


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