Mail Archives: cygwin/2001/11/15/22:09:27
There appears to be a problem with this version of make please
see below.
The ChangeLog.Cygnus file contains information on a change that
causes an error if sh.exe is not in /bin when make is run.
---------
* main.c (main): Avoid setting no_default_sh_exe to 0 in all cases.
Default to /bin/sh.exe on Cygwin. Lookup COMSPEC for --win32.
---------
The default shell is set to a unix style shell, ie. /bin/sh,
main.c contains code that checks the MAKE_MODE environment
variable see below..
---------
/* Read the environment variable MAKE_MODE */
/* If it's "UNIX", set unixy_shell to 1. If it's "WIN32" or
anything else, stay with the default of 0. */
make_mode_env = getenv ("MAKE_MODE");
if (make_mode_env && strcaseequ (make_mode_env, "UNIX"))
unixy_shell = 1;
---------
The above code checks to see if the MAKE_MODE is 'unix' and, if
it is sets unixy_shell (which is already set since the default
shell is now /bin/sh). Any other setting, i.e. WIN32, will use
the default, which is a unix shell. So make is looking for
/bin/sh even when MAKE_MODE is set to WIN32, the only workaround
is to specify --win32 as a command line option to make.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -