www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/11/17/03:51:35

Date: Wed, 17 Nov 1999 09:27:30 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Andrea Ryan <aryan AT global2000 DOT net>
cc: djgpp AT delorie DOT com
Subject: Re: Help with include path
In-Reply-To: <3831CB51.9D5ACC10@global2000.net>
Message-ID: <Pine.SUN.3.91.991117092714.16288M-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

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.

- Raw text -


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