Date: Wed, 17 Nov 1999 09:27:30 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Andrea Ryan cc: djgpp AT delorie DOT com Subject: Re: Help with include path In-Reply-To: <3831CB51.9D5ACC10@global2000.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Tue, 16 Nov 1999, Andrea Ryan wrote: > I got MGL and the Djgpp.env file needs a path to the *.h files in > C:\Scitech\Include. I tried > C_INCLUDE_PATH=%/>;C_INCLUDE_PATH%include;%Scitech%/Include;%PRIVATE%/include > > and > LIBRARY_PATH=%/>;LIBRARY_PATH%%include;%Scitech%/Include;%PRIVATE%/include > > under [gcc]. > It didn't work. Of course, it won't: your entries are erroneous. Do *not*, repeat: do NOT edit your DJGPP.ENV unless you are _absolutely_ certain there's no other way to get what you want, *and* you are _positive_ you know all the intricacies of the cryptic syntax used by DJGPP.ENV. You can easily screw a perfectly good installation by messing with DJGPP.ENV. The right way of adding directories to the include path is to define the variable C_INCLUDE_PATH in the environment that lists only the additional directories. DJGPP.ENV is already set up to prepend any existing value to the system directories. So you have no reason whatsoever to futz with DJGPP.ENV in your case. I suggest to revert to the version of DJGPP.ENV from djdev202.zip, and define C_INCLUDE_PATH in the environment. If the above doesn't help, add -v to a compilation command line and post here everything that is printed by the compiler.