delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/07/08/00:15:30

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
From: "Jonadab the Unsightly One" <jonadab AT bright DOT net>
Organization: There is no organisation.
To: cygwin AT cygwin DOT com
Date: Sun, 8 Jul 2001 00:14:54 -0400
MIME-Version: 1.0
Subject: Re: DJGPP & CygWin cohabitation
Reply-to: jonadab AT bright DOT net
Message-ID: <3B47A5FE.1635.14A03B7@localhost>
In-reply-to: <000201c1074c$00dc21a0$6464648a@ca.boeing.com>
X-Eric-Conspiracy: My name is not Eric.
X-Platform: Windows '95 OSR2 (heavily adjusted and customised)
X-mailer: Pegasus Mail for Win32 (v3.12)

# I'm not familiar with DJGPP, 

DJGPP is to honest-to-goodness DOS (i.e., pre-95) what cygwin 
is to Windows 9x or NT.  More or less.  I'm sure the package
overlap is not exact, and I don't think things tend to compile
quite as OOTB with DJGPP as with cygwin (unless I've missed
some updates, which is very possible), but there you are, a
rough idea what DJGPP is.

# but it sounds like there may be some overlap in
# the programs each provides.  

Definitely some overlap (though, I think, not nearly
100%).  Probably the piece of DJGPP in particular 
that he wants to use (rather than the cygwin 
equivalent) is gcc, since that way he can produce DOS 
binaries.  

# If so, whichever directory is earlier in the
# PATH environment variable will be executed.  

And you can customise the PATH variable pretty much
however you like, within the limit on command line
size COMMAND.COM imposes.  You can even write BAT
files that change the PATH variable.  I usually have
my AUTOEXEC.BAT do a CALL FIXPATH.BAT so I can keep
my PATH management separate anyway -- you can have
more than one such BAT file, say, PATHDJ.BAT and
PATHCYG.BAT, to change the PATH back and forth at 
will.  

# I think the default /etc/profile adds /usr/local/bin 
# and /bin to the front of PATH, so you should be able 
# to use the Cygwin tools an any DJGPP tools that aren't 
# in Cygwin from the bash prompt as well.

And of course you can customise this too.

-- 
Your font seems to be:    proportional     fixed
                                             ^
                                             |

(Fontmeter only accurate for about 90% of fonts.)

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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