delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/10/12/10:42:50

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Thu, 12 Oct 2000 10:42:43 -0400
From: Jason Tishler <Jason DOT Tishler AT dothill DOT com>
To: cygwin AT sources DOT redhat DOT com
Subject: Re: Cygwin RCS Build Instructions (or sometimes ash does not like a.out)
Message-ID: <20001012104243.B1021@OLMY>
References: <20001012102745 DOT A1021 AT OLMY> <20001012102845 DOT A20519 AT cygnus DOT com>
Mime-Version: 1.0
User-Agent: Mutt/1.2.5i
In-Reply-To: <20001012102845.A20519@cygnus.com>; from cgf@cygnus.com on Thu, Oct 12, 2000 at 10:28:45AM -0400
Organization: Dot Hill Systems Corp.

Chris,

On Thu, Oct 12, 2000 at 10:28:45AM -0400, Chris Faylor wrote:
> On Thu, Oct 12, 2000 at 10:27:45AM -0400, Jason Tishler wrote:
> >I believe that I finally got to the bottom of why there are problems
> >building RCS on Cygwin.  It boils down to an idiosyncrasy of ash which
> >can be demonstrating by the following:
> >
> >    $ cd /tmp
> >    $ cp /usr/bin/id.exe a.out
> >    $ sh -c ./a.out
> >    ./a.out: not found
> 
> ash wants files to have the executable bit set.  Cygwin fakes this by looking
> for files with specific extensions and setting the bit in that case.
> 
> '.out' is not one of the extensions.

OK.  But, why does the following work (continuing the above):

    $ sh -c a.out
    uid=1000(jt) gid=513(None) groups=513(None)

Thanks,
Jason

-- 
Jason Tishler
Director, Software Engineering       Phone: +1 (732) 264-8770 x235
Dot Hill Systems Corporation         Fax:   +1 (732) 264-8798
82 Bethany Road, Suite 7             Email: Jason DOT Tishler AT dothill DOT com
Hazlet, NJ 07730 USA                 WWW:   http://www.dothill.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019