Stack dumps from sh.exe (from within make)

Csaba Raduly
Wed Nov 10 08:47:00 GMT 2010

On Wed, Nov 10, 2010 at 7:50 AM, Jim Reisert AD1C wrote:
> (snip) When I call make to build and
> run my C program, I get stack dumps from sh.exe (my default [login]
> shell is tcsh, so it must be make which is invoking sh).

Yes it does; GNU make defaults to SHELL=/bin/sh; this can be
overridden in a makefile but not with the SHELL environment variable.
See section 5.3.1 Choosing the shell in

GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++
Life is complex, with real and imaginary parts.
"Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds
"People disagree with me. I just ignore them." -- Linus Torvalds

Problem reports:
Unsubscribe info:

More information about the Cygwin mailing list