delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/09/16/09:51:59

From: Sujoy DOT Mitra AT xilinx DOT com (Sujoy Mitra)
Subject: Make and command execution
16 Sep 1998 09:51:59 -0700 :
Message-ID: <35FED9DB.3E13CF9.cygnus.gnu-win32@xilinx.com>
Reply-To: sujoy DOT mitra AT xilinx DOT com
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com

Hi,

The e-mail is with reference to make in the b19 release. I always have
MAKE_MODE set to unix.

Consider the rules:

lib1:
    perlscript

lib2:
    ( perlscript )

Here perlscript is a PERL5 script. The SHELL variable is set to a non
GNUWIN32 (tcsh) shell.

The lib1 target fails with:
Can't open perl script "perlscript": No such file or directory

How did make know that "perlscript" was a PERL script? If it actually
opened up the file and intuited it from the #! line then why does it say
"No such file or directory"?

But lib2 executes perfectly!

Can anyone explain this?

Thanks,
Sujoy Mitra.

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019