Mail Archives: djgpp/2000/01/06/12:10:44
On Thu, 6 Jan 2000, Andrea Ryan wrote:
> The output I got was:
>
> C:\SCITECH\EXAMPLES\MGL>set
> TMP=C:\WINDOWS\TEMP
> TEMP=C:\WINDOWS\TEMP
> PROMPT=$p$g
> winbootdir=C:\WINDOWS
> EUDIR=C:\EUPHORIA
> C_INCLUDE_PATH=C:\Scitech\Include
> CPLUS_INCLUDE_PATH=C:\Scitech\Include
[snip]
> DJGPP=C:\DJGPP\DJGPP.ENV
I don't understand this: C_INCLUDE_PATH is set, DJGPP is also set, and
yet the MGL include directories don't appear on the search path
reported by the compiler:
> GNU CPP version 2.95.2 19991024 (release) (80386, BSD syntax)
> #include "..." search starts here:
> #include <...> search starts here:
> c:/djgpp/lib/gcc-lib/djgpp/2.952/include <--------------No MGL!
> c:/djgpp/include
How can this be?? Did you edit DJGPP.ENV? It should have a fragment
like this:
[cpp]
CPLUS_INCLUDE_PATH=%/>;CPLUS_INCLUDE_PATH%%DJDIR%/lang/cxx;%DJDIR%/include;%DJDIR%/contrib/grx20/include
C_INCLUDE_PATH=%/>;C_INCLUDE_PATH%%DJDIR%/include;%DJDIR%/contrib/grx20/include
Do you have it, or is it somehow changed? It is especially important
that the first part after the equals sign `=', the one which mentions
C_INCLUDE_PATH, is present, since that's what makes the value of
C_INCLUDE_PATH, as you set it in the environment, be prepended to the
defeault directories. Please make sure that this line is intact.
Does anyone know how could the compiler ignore C_INCLUDE_PATH?
> DJ_PATH=C:\DJGPP
What do you need this variable for?
- Raw text -