www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/12/31/06:04:44

From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Include Paths
Date: Fri, 31 Dec 1999 11:55:01 +0200
Organization: NetVision Israel
Lines: 20
Message-ID: <386C7D75.5C133888@is.elta.co.il>
References: <386BFAF0 DOT 637140AD AT global2000 DOT net>
NNTP-Posting-Host: ras1-p113.rvt.netvision.net.il
Mime-Version: 1.0
X-Trace: news.netvision.net.il 946633869 20198 62.0.172.115 (31 Dec 1999 09:51:09 GMT)
X-Complaints-To: abuse AT netvision DOT net DOT il
NNTP-Posting-Date: 31 Dec 1999 09:51:09 GMT
X-Mailer: Mozilla 4.7 [en] (Win98; I)
X-Accept-Language: en,ru,hebrew
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Andrea Ryan wrote:
> 
> set C_INCLUDE_PATH=C:\Scitech\Include
> set CPLUS_INCLUDE_PATH=C:\Scitech\Include
> set C_LIBRARY_PATH=c:\Scitech\Lib\Dos32\Dj2
> set CPLUS_LIBRARY_PATH=C:\Scitech\Lib\Dos32\Dj2
> set CPLUS_LIBRARY_PATH=C:\Djgpp\lang\cxx

The last setting overrides the one before it.  I think you can safely
remove the last line, because C:\DJGPP\LANG\CXX does not contain
libraries, only header files (and is searched automatically for C++
headers).

Other than that, I don't spot anything wrong with these settings.  Make
sure they are indeed in effect in the same DOS box where you run the
compiler, by typing "set [Enter]" in that box.  You should see the above
lines (but without the "set " part).

If this still doesn't work, add -v to the compilation command and see
what directories does the compiler search for header files.

- Raw text -


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