Date: Thu, 6 Jan 2000 11:46:47 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Andrea Ryan cc: djgpp AT delorie DOT com Subject: Re: Include Paths In-Reply-To: <3873FB65.1B497B54@global2000.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: dj-admin AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk 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?