www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/10/27/10:03:46

From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Zlib compiling error ==> help needed
Date: Wed, 27 Oct 1999 09:44:06 +0200
Organization: NetVision Israel
Lines: 28
Message-ID: <Pine.SUN.3.91.991027094346.27176F-100000@is>
References: <381315eb DOT 0 AT news DOT tm DOT net DOT my> <Pine DOT SUN DOT 3 DOT 91 DOT 991025135343 DOT 9200C-100000 AT is> <BbEVOJQb2oCVL+rZcNPmXfJpO0zQ AT 4ax DOT com>
NNTP-Posting-Host: is.elta.co.il
Mime-Version: 1.0
X-Trace: news.netvision.net.il 941010166 766 199.203.121.2 (27 Oct 1999 07:42:46 GMT)
X-Complaints-To: abuse AT netvision DOT net DOT il
NNTP-Posting-Date: 27 Oct 1999 07:42:46 GMT
X-Sender: eliz AT is
In-Reply-To: <BbEVOJQb2oCVL+rZcNPmXfJpO0zQ@4ax.com>
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

On Tue, 26 Oct 1999, Damian Yerrick wrote:

> > You should never mix RSXNTDJ with DJGPP,
> > these are two different compilers.
> 
> OK, I've installed them in \personal\djgpp and \personal\rsxntdj.
> How do I tell the system to use one GCC port or the other?

There are several possibilities; I don't know which one of them is
better suited for RSXNTDJ, since I don't have RSXNTDJ installed.

One possibility is to have two different DJGPP.ENV files, one each in
every directory.  Then you change your current compiler by flipping
the value of the DJGPP environment variable and changing PATH.  A
simle batch file can do this.

Another possibility is to set environment variables like
C_INCLUDE_PATH, CPLUS_INCLUDE_PATH, COMPILER_PATH, and LIBRARY_PATH
from the command line or a batch file.

Yet another possibility is to prepare two shortcuts, one each for
every compiler, and have each shortcut run COMMAND.COM like this:

      command /k djgpp.bat

(and similarly for rsxntdj.bat).  Then put everything you need to set
up into these two batch files.

- Raw text -


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