From: Eli Zaretskii Newsgroups: comp.os.msdos.djgpp Subject: Re: Zlib compiling error ==> help needed Date: Wed, 27 Oct 1999 16:05:14 +0200 Organization: NetVision Israel Lines: 16 Message-ID: References: <199910271233 DOT OAA07066 AT acp3bf DOT physik DOT rwth-aachen DOT de> NNTP-Posting-Host: is.elta.co.il Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: news.netvision.net.il 941033033 10562 199.203.121.2 (27 Oct 1999 14:03:53 GMT) X-Complaints-To: abuse AT netvision DOT net DOT il NNTP-Posting-Date: 27 Oct 1999 14:03:53 GMT X-Sender: eliz AT is In-Reply-To: <199910271233.OAA07066@acp3bf.physik.rwth-aachen.de> To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp 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 Wed, 27 Oct 1999, Hans-Bernhard Broeker wrote: > This lead to a plain DJGPP compilation seeing the RSXNTDJ headers, > with all the troubles you get from that. The problem is that an > environment variable will be used by *both* RSXNTDJ and DJGPP, once > it's been set, and it will usually cause (at least) one of them to > stop working properly. Oh, I see that I misunderstood you. Sure, C_INCLUDE_PATH should include the RSXNTDJ directories *only* when you are compiling with RSXNTDJ. But if the user changes the value of C_INCLUDE_PATH to correspond to the compiler that's currently in use, then everything _will_ work, right? And the same goes for LIBRARY_PATH and CPLUS_INCLUDE_PATH.