From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2672 invoked by alias); 26 Sep 2003 15:26:08 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 2664 invoked from network); 26 Sep 2003 15:26:07 -0000 Received: from unknown (HELO redhat.com) (66.187.230.200) by sources.redhat.com with SMTP; 26 Sep 2003 15:26:07 -0000 Received: by redhat.com (Postfix, from userid 201) id 150FF32A8A7; Fri, 26 Sep 2003 11:26:04 -0400 (EDT) Date: Fri, 26 Sep 2003 15:27:00 -0000 From: Christopher Faylor 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> <20030925125239.GH10088@cygbert.vinschen.de> <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 X-SW-Source: 2003-09/txt/msg01689.txt.bz2 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/