This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: bash/gmake problem
- To: gnu-win32 at cygnus dot com, Laurent dot CHARLES at st dot com, jont at harlequin dot co dot uk
- Subject: Re: bash/gmake problem
- From: john dot muller at peri dot com (John Muller)
- Date: Thu, 6 Nov 1997 15:59:01 -0500
Hello,
I have found the problem. It is a bug in gmake.
In version 3.75 change the line:
#ifdef WIN32
if (!strncmp(ep, "PATH", 4))
unix_path = &ep[5];
if (!strncmp(ep, "Path", 4))
win32_path = &ep[5];
#endif
to
#ifdef WIN32
if (!strncmp(envp[i], "PATH", 4))
unix_path = &ep[5];
if (!strncmp(envp[i], "Path", 4))
win32_path = &ep[5];
#endif
In version 3.75 or 3.76 change the line:
struct variable *v = lookup_variable ("Path", 4);
to
struct variable *v = lookup_variable ("PATH", 4);
thanks
jsm
> In my makefile I have a statement which looks like:
>
> cd libsrc/somelib/src; $(MAKE) -f somelib.mk $(ACTION)
>
> In a dos window or mks korn shell, gmake executes these statements correctly.
> However, things fail when gmake is started in a bash shell. The statement
> cd libsrc/somelib/src only goes one level deep (ie we are in the libsrc
> directory and not libsrc/somlib/src).
>
> Anybody have any ideas of what is going on?
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".