Mail Archives: djgpp/2002/02/25/09:51:08
Missing info and header files
==============================
DJGPP version 303 using WIN 98 SE
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 have deleted all the files associated with the old version and
reinstalled the new one.
I would be most grate full for any help in resolving some of these.
Thanks in advance,
Ian Davidson.
-----------------------------------------------------
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.
-----------------------------------------------------
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)
The other header file, iostream.h, is read in OK.
The files are on the system as:
C:\User\programs\djgpp\lang\cxx\strclass.h
C:\User\programs\djgpp\lang\cxx-v3\backward\iostream.h
The file C:\User\programs\djgpp\djgpp.env contains the following:
[cpp]
CPLUS_INCLUDE_PATH=%/>;CPLUS_INCLUDE_PATH%%DJDIR
%/lang/cxx;%DJDIR%/include
C_INCLUDE_PATH=%/>;C_INCLUDE_PATH%%DJDIR%/include
OBJCPLUS_INCLUDE_PATH=%/>;OBJCPLUS_INCLUDE_PATH%
%DJDIR%/include;%DJDIR%/lang/objc
OBJC_INCLUDE_PATH=%/>;OBJC_INCLUDE_PATH%%DJDIR%/i
nclude;%DJDIR%/lang/objc
I have tried using the full path name in the include file, but the
include files that
the header file itself includes are not found!!
#include "strclass.h" // this doesn't work either
The following command line also fails (same error)
gcc -IDIR c:\user\programs\djgpp\lang\cxx myfile.cpp
- Raw text -