Date: Sun, 08 Jul 2001 20:56:29 +0300 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: "chris.danx" 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: (chris DOT danx AT ntlworld DOT com) Subject: Re: cc1plus? References: <994607565 DOT 519573 AT queeg DOT ludd DOT luth DOT se> 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 Precedence: bulk > From: "chris.danx" > 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.