B20: make fails to execute command

Wilson Cheung wcheung@nortelnetworks.com
Tue May 11 08:03:00 GMT 1999


Within the Makefile.compile,  we define the following:

all:
    perl -e "$$path=`path`;print $$path;"


When we use GNU make vers 3.75 by Cygwin, we have the following output:

D:\nisacompile\code\component_A>d:\public\bin\make -f Makefile.compile
perl -e "$path=`path`;print $path;"

D:\nisacompile\code\component_A>

The command is reached by a valid rule firing, but the command isn't
executed.

When we execute the perl command line under WinNT 4.0 service pack 3, we
have
the following output:

D:\>perl -e "$$path=`path`;print $$path;"
PATH=C:\WINNT\system32;C:\WINNT;C:\PROGRA~1\MICROS~1\Office;C:\Program
Files\Maestro.nt\;C:\NTRESKIT;C:\NTRESKIT\Perl;C:\Program;C:\Program Fi

les\InterAccess\Companion;;C:\Program
Files\Rational\ClearCase\bin;;c:\orant\bin

If we define the Makefile with the following:

all:
    dir /ad

It works as expected.

Any comments?


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com



More information about the Cygwin mailing list