delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/03/10/10:18:26

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
X-Apparently-From: <earnie?boyd AT yahoo DOT com>
Message-ID: <3AAA45B1.169DD8E5@yahoo.com>
Date: Sat, 10 Mar 2001 10:18:09 -0500
From: Earnie Boyd <earnie_boyd AT yahoo DOT com>
Reply-To: Earnie Boyd <cygwin AT cygwin DOT com>
X-Mailer: Mozilla 4.76 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Eliminate make's search for sh.exe under Cygwin?
References: <20010310002341 DOT A10357 AT redhat DOT com>

Christopher Faylor wrote:
> 
> Recent posts in the cygwin mailing list have pointed to the fact that
> make is pretty slow and have mentioned that make takes some time
> searching for sh.exe.
> 
> I'm not sure why make, running under Cygwin, goes out of its way to
> search for sh.exe on the PATH.  Maybe this is a holdover from the times
> when there wasn't necessarily a /bin in the Cygwin distributions.  It's
> possible that Red Hat may even distribute things that way -- but I can
> take care of that.
> 
> I am thinking that we can probably rip out most of the logic currently
> in make for finding a shell in the path and just let it use /bin/sh when
> MAKE_MODE=unix or find command.com/cmd.exe when MAKE_MODE=win32.
> 
> Does this sound like a good plan?  Am I missing something?  Will having
> make operate more like UNIX cause some problem that I'm not aware of?
> 

Hmm...  I seem to recall that make goes through lots of extra logic when
WIN32 is defined so perhaps the removal of that definition alone will
help.  (I haven't looked recently.)  Perhaps you should ask the "cause
some problem" question internally at sources.redhat?  I can't fathom
that it would cause problems for the normal "I want UNIX or bust" user.

Earnie.

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019