www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/03/26/00:15:32

Date: Tue, 26 Mar 1996 07:09:36 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Richard Young <richard DOT young AT crc DOT doc DOT ca>
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: <Pine.SUN.3.91.960326070241.2462F-100000@is>
Mime-Version: 1.0

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'.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019