This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Cygwin RCS Build Instructions (or sometimes ash does not like a.out)


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.Tishler@dothill.com
Hazlet, NJ 07730 USA                 WWW:   http://www.dothill.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]