Make and command execution

Sujoy Mitra Sujoy.Mitra@xilinx.com
Tue Sep 15 19:33:00 GMT 1998


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@cygnus.com" with one line of text: "help".



More information about the Cygwin mailing list