Subject: Re: Cygwin RCS Build Instructions (or sometimes ash does not like a.out)
From: Jason Tishler <[email-masked]>
To: [email-masked]
Date: Thu, 12 Oct 2000 10:42:43 -0400

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: [email-masked]
Hazlet, NJ 07730 USA                 WWW:   http://www.dothill.com

--
Want to unsubscribe from this list?
Send a message to [email-masked]