Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Fri, 26 Sep 2003 11:26:04 -0400
From: Christopher Faylor <cgf-rcm@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Strange make [Error 255] (cygwin bug?)
Message-ID: <20030926152604.GB12094@redhat.com>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <006601c38335$a62e8dc0$8006fea9@bertigep> <Pine.GSO.4.56.0309250832520.3193@slinky.cs.nyu.edu> <20030925125239.GH10088@cygbert.vinschen.de> <Pine.GSO.4.56.0309250855480.3193@slinky.cs.nyu.edu> <20030925134036.GC20477@cygbert.vinschen.de> <20030925134745.GC14708@redhat.com> <87r824uhkz.fsf@peder.flower> <20030926083807.GD22787@cygbert.vinschen.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
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/

