delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/04/09/16:59:59

X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Subject: RE: Suggestion for run (with patch)
Date: Mon, 9 Apr 2007 22:00:04 +0100
Message-ID: <7231C15EAC2F164CA6DC326D97493C8B02F8FE3E@exchange35.fed.cclrc.ac.uk>
In-Reply-To: <20070409145533.GA8977@ednor.casa.cgf.cx>
References: <7231C15EAC2F164CA6DC326D97493C8B02F8FE34 AT exchange35 DOT fed DOT cclrc DOT ac DOT uk> <20070409145533 DOT GA8977 AT ednor DOT casa DOT cgf DOT cx>
From: "Adye, TJ \(Tim\)" <T DOT J DOT Adye AT rl DOT ac DOT uk>
To: <cygwin AT cygwin DOT com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id l39KxmkV002083

Hi Christopher,

Christopher Faylor wrote:
>
> I don't see any reason to include a non-cygwin version of a 
> program in the *cygwin* distribution.  If you don't have 
> cygwin1.dll in the path, then you aren't running in a cygwin 
> environment.
> 
> This is not to say that I don't understand perfectly why 
> someone might want to not use cygwin or how wonderful it 
> might be not to use cygwin1.dll.  This just isn't an issue we 
> need to deal with here.

This is nothing to do with knocking Cygwin. I'm talking about using
run-native.exe to start Cygwin programs. However, when starting Cygwin
programs from Windows, I find it clearer to setup the PATH (and perhaps
start ancillary programs like Exceed) before invoking a Cygwin program.
Yes, I could probably change things around to work with the Cygwin
version of run (though for my use cases, that would be more convoluted),
but a non-Cygwin version used to be part of the package, and solved the
problem neatly. I am just restoring the functionality, and giving people
another option.

Also, since the run package is now part of Cygwin (and doesn't seem to
be maintained elsewhere), it seems an unnecessary confusion to maintain
two branches. If you really don't like having anything not linked with
cygwin1.dll as part of the distribution, then how about taking the
source-code updates and leaving the extra executable out of the
distribution - though that would be a pity for people like me who find
this the best way to start Cygwin programs.

As I said before, run-native.exe doesn't need to live in /usr/bin, and
could be called something else. But it is convenient to have available
as a way to start Cygwin programs (I have been looking to releasing some
other software to help with this, but I'm still tidying that up...).

Tim.

===========================  cut here  ============================
 Tim Adye      T DOT J DOT Adye AT rl DOT ac DOT uk       http://hepunx.rl.ac.uk/~adye
 BaBar/Atlas Groups, Particle Physics Dept, Rutherford Appleton Lab

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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