%% "FND-AD Qin Feng (NGN)" <[EMAIL PROTECTED]> writes: fqf> Following is my makefile: fqf> SHELL:=/usr/bin/sh fqf> PWD:=$(shell pwd) fqf> all: fqf> @echo dir: $(PWD) fqf> but the result is : fqf> dir: fqf> it seems no shell command executed, my gmake version is v3.80 and fqf> platform is : OSF1 ds10.sbell.com.cn V4.0 1229 alpha
Not sure what's going on; it works for me (on Linux and Solaris--I don't have an OSF1 system). Are you sure you're running GNU make? Run the exact same command line that fails, but add a --version and make sure it's GNU make. You might try an older version of GNU make; there have been some fixes to signal handling in the source since 3.80 was released, although those typically only impact a make that's running with -j. -- ------------------------------------------------------------------------------- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at: http://www.gnu.org http://make.paulandlesley.org "Please remain calm...I may be mad, but I am a professional." --Mad Scientist _______________________________________________ Bug-make mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-make