Mail Archives: djgpp/2002/02/25/10:25:20
On Mon, 25 Feb 2002, Ian wrote:
> I have a whole load of files which worked OK with DJGPP version
> 2.7xxxx but now do not compile with CGG version 303.
I understand that you upgraded the GCC compiler, not DJGPP. When you say
"DJGPP version NNN", it refers to the file djdevNNN.zip, the development
environment and the C library. GCC versions are a different matter.
> 1. info can't find a file.
> when I run "info" I see:
>
> >From lgpnnnb.zip
> * iostream
> ...
> * libgpp
> ...
> I have installed lgp2952b.zip and the link to libgpp is OK,
> but info still reports "iostream NO SUCH FILE OR DIRECTORY
> (NOENT)"
> when I attempt to access * iostream.
It looks like iostream.info was indeed omitted from gpp303b.zip. I don't
know why; perhaps it is no longer distributed by the GCC maintainers.
This file was present in gpp2953b.zip, so perhaps you could download that
and use iostream.info from there.
> -----------------------------------------------------
> 2. C++ can't find header file.
> The following program fails:
> #include <strclass.h>
> #include <iostream.h>
>
> the error is:
> strclass.h: No such file or directory (ENOENT)
There's no strclass.h in gpp303b.zip; I guess it means that header was
not a standard one, and was thrown away. Welcome to the dynamic world of
C++...
I think you will have to change your program, but I don't know what
header should replace strclass.h. Anybody?
> The files are on the system as:
> C:\User\programs\djgpp\lang\cxx\strclass.h
Please remove the entire directory lang\cxx (unless you want to be able
to use GCC 2.7.x): it doesn't belong to the new C++ headers, which are in
lang\cxx-v3.
- Raw text -