Date: Tue, 26 Mar 1996 07:09:36 +0200 (IST) From: Eli Zaretskii To: Richard Young Cc: djgpp AT delorie DOT com Subject: Re: Problems using V2 and Q. on DJGPP.ENV In-Reply-To: <4iutmp$g41@crc-news.doc.ca> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On 22 Mar 1996, Richard Young wrote: > I've examined the DJGPP.ENV file assuming that the problem is here and I > am puzzled by its syntax. For example the C++ include path line is > > CPLUS_INCLUDE_PATH=%/>;CPLUS_INCLUDE_PATH%%DJDIR%/lang/cxx;%DJDIR%/includ > e;%DJDIR%/contrib/grx20/include > > Is this correct. Could someone explain the substitution/parsing taking > place here. I'm particularly confused with the first portion of the > line. How do I add my own libaries to the path. This line is correct. If you unzipped the archives with -d switch to PKZIP and downloaded and installed lgp271b.zip (the GNU C++ classes library which includes the C++ header files), then the header complex.h should be in the lang/cxx subdirectory of the main DJGPP installation directory (C:\DJGPP in your case). Please see that you indeed have the file there. To add a directory to the above line, just add a semi-colon and the directory name. %DJDIR% means the directory where DJGPP is installed. > Does anyone have any further suggestions as to where our problems are > arising. Add -v to the compilation command line and post everything that gcc prints while it compiles. The output is voluminous, so you might need to use the `redir' program which comes with DJGPP to redirect it to a file. The info file info/utils.inf describes how to use `redir'.