Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Delivered-To: mailing list cygwin@cygwin.com Date: Tue, 7 Sep 2004 19:34:59 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin@cygwin.com To: Isaac Foraker cc: cygwin@cygwin.com Subject: Re: 1.5.11: execvp bug (XP) In-Reply-To: <413E410F.5010901@xilinx.com> Message-ID: References: <413E410F.5010901@xilinx.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Scanned-By: MIMEDefang 2.39 On Tue, 7 Sep 2004, Isaac Foraker wrote: > Yes, the perl soft link works from the command line. Here's my test > case that fails. > > > #!/usr/bin/perl > > print "Success.\n" > > > > default: > perl foo.pl > > > #ls -l /usr/bin/perl > lrwxrwxrwx 1 isaacf Domain U 24 Sep 7 12:44 /usr/bin/perl -> > /usr/bin/perl5.8.5.exe > > #gmake ^^^^^ > perl foo.pl > gmake: execvp: perl: Permission denied > gmake: *** [default] Error 127 ^^^^^ > #perl foo.pl > Success. > > You may also need to "rm /usr/bin/perl.exe" before you can "ln -s > /usr/bin/perl5.8.5.exe /usr/bin/perl". According to , there is no "gmake" in the Cygwin distribution. Is "gmake" a Windows executable, by any chance? If so, the behavior is expected -- Windows programs don't understand Cygwin symlinks. Why not use Cygwin make? Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha@cs.nyu.edu ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "Happiness lies in being privileged to work hard for long hours in doing whatever you think is worth doing." -- Dr. Jubal Harshaw -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/