Mail Archives: djgpp/2001/07/08/17:00:06
> > > : 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 -