This is the mail archive of the cygwin@sourceware.cygnus.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]

Make and command execution


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".


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