www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/07/08/17:00:06

From: "chris.danx" <chris DOT danx AT ntlworld DOT com>
Newsgroups: comp.os.msdos.djgpp
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> <2593-Sun08Jul2001205624+0300-eliz AT is DOT elta DOT co DOT il>
Subject: Re: cc1plus?
Lines: 56
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
Message-ID: <gC327.12951$B56.2248962@news2-win.server.ntlworld.com>
Date: Sun, 8 Jul 2001 21:45:12 +0100
NNTP-Posting-Host: 62.253.8.230
X-Complaints-To: abuse AT ntlworld DOT com
X-Trace: news2-win.server.ntlworld.com 994625036 62.253.8.230 (Sun, 08 Jul 2001 21:43:56 BST)
NNTP-Posting-Date: Sun, 08 Jul 2001 21:43:56 BST
Organization: ntlworld News Service
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

> > > : 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.

Right! I changed the version, it's building.

I had unzipped gpp2592, not gpp2593, and that's where the problem lay.  Yes, I'm
daft.


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

GNAT is based upon GCC 2.8.1, GNAT for DOS port is based upon DJGPP 2.03 _and_
GCC 2.8.1.

I forgot I had installed GNAT for DOS, and wanted to try building DJGPP.  Now
that I know I've got what is needed to build DJGPP, I can build GNAT.  Maybe, it
wasn't necessary, I don't really know, but it's best to be on the safe side,
isn't it?

> 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.

The plan for GNAT, as far as i'm aware, is to integrate it into GCC sometime
after 3.00.  Until that time it will be based on 2.8.1.


Thanks for all your help,
Chris Campbell

- Raw text -


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