This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Re: Cygwin RCS Build Instructions (or sometimes ash does not like a.out)
- To: Cygwin <cygwin at sources dot redhat dot com>
- Subject: Re: Cygwin RCS Build Instructions (or sometimes ash does not like a.out)
- From: Chris Faylor <cgf at cygnus dot com>
- Date: Thu, 12 Oct 2000 10:28:45 -0400
- References: <20001012102745.A1021@OLMY>
- Reply-To: cygwin at sources dot redhat dot com
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
>
>Hence, ash will not execute programs when their full path is specified
>and they don't end in ".exe".
>
>The above behavior was causing RCS's src/conf.sh to fail because it
>builds a.out files and attempts to run them via sh (i.e., ash) as
>"./a.out". Hence, conf.sh would get confused and finally abort.
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.
cgf
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com