delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/09/26/11: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
Date: Fri, 26 Sep 2003 11:26:04 -0400
From: Christopher Faylor <cgf-rcm AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Strange make [Error 255] (cygwin bug?)
Message-ID: <20030926152604.GB12094@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <006601c38335$a62e8dc0$8006fea9 AT bertigep> <Pine DOT GSO DOT 4 DOT 56 DOT 0309250832520 DOT 3193 AT slinky DOT cs DOT nyu DOT edu> <20030925125239 DOT GH10088 AT cygbert DOT vinschen DOT de> <Pine DOT GSO DOT 4 DOT 56 DOT 0309250855480 DOT 3193 AT slinky DOT cs DOT nyu DOT edu> <20030925134036 DOT GC20477 AT cygbert DOT vinschen DOT de> <20030925134745 DOT GC14708 AT redhat DOT com> <87r824uhkz DOT fsf AT peder DOT flower> <20030926083807 DOT GD22787 AT cygbert DOT vinschen DOT de>
Mime-Version: 1.0
In-Reply-To: <20030926083807.GD22787@cygbert.vinschen.de>
User-Agent: Mutt/1.4.1i

On Fri, Sep 26, 2003 at 10:38:07AM +0200, Corinna Vinschen wrote:
>On Fri, Sep 26, 2003 at 09:36:28AM +0200, Jan Nieuwenhuizen wrote:
>> Christopher Faylor writes:
>> 
>> > In any event, this might help:
>> >
>> > mount -f -X c:/cygwin/bin /bin
>> > mount -f -x c:/cygwin/bin/strace.exe /bin/strace.exe
>> > mount -f -x c:/cygwin/bin/cygcheck.exe /bin/cygcheck.exe
>> 
>> Why can this not be the default, are there any other executables that
>> need to mounted '-x'?
>
>mount -X is a bit of a workaround.  While it speeds up starting
>apps from that directory, it disallows correct argument passing
>for non-Cygwin applications in the same directory.  Therefore
>the two additional mount -x for strace and cygcheck, bot mingw
>apps.
>
>I don't think that's a good idea to default /bin to -X.

Right.  It could be an option in setup.exe, I suppose but making
it the default could open up a Pandora's box of other issues.

-X should be faster than -x, and -x is faster than nothing.  Basically,
any make option which gives a hint to cygwin on the executability of the
file should speed things up slightly.  So, if you know that a file or
directory is not executable, mounting it as -E helps also.

cgf

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