Mail Archives: djgpp/2001/07/08/13:57:03
> 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 -