delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/05/11/16:26:30

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-ID: <40A135C5.9060708@cs.york.ac.uk>
Date: Tue, 11 May 2004 21:21:25 +0100
From: chris <caj AT cs DOT york DOT ac DOT uk>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3
MIME-Version: 1.0
CC: cygwin AT cygwin DOT com
Subject: Executable links?
References: <3D848382FB72E249812901444C6BDB1D022F4AE7 AT exchange DOT timesys DOT com>
In-Reply-To: <3D848382FB72E249812901444C6BDB1D022F4AE7@exchange.timesys.com>
X-IsSubscribed: yes

Just a couple of tiny questions / thoughts.

A number of people (myself included) have been "caught" over the fact 
that cygwin shortcuts can obviously not be executed from a windows 
shell. There appears to me to be 4 ways of dealing with this

1) Ignore the problem, use a proper shell
2) On NTFS, use hard links. I did this for a while, then I thought I 
heard that it could cause problems when programs were updated
3) Have option to duplicate linked files. I've been doing this for a 
while now, and the loss of disk space is minimal
4) Replace links to executables with a very small executable which does 
the linking process. I've been experimenting a little with this and it 
doesn't seem like a bad idea, except a) it involves hacking where you 
want to link to into the executable (not too bad), b) the shortcut is no 
longer reckonised by ls / ln / etc (would this be hard to fix?) and c) I 
can't make a cygwin executable <10kish (this is still not that large, 
and I'm sure someone better than me could make it smaller.

Any comments / suggestions?


--
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