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)


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


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