Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Sun, 11 Mar 2001 16:10:21 -0500 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: Eliminate make's search for sh.exe under Cygwin? Message-ID: <20010311161021.A24889@redhat.com> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <3AAA45B1 DOT 169DD8E5 AT yahoo DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.11i In-Reply-To: ; from shalidor@cfl.rr.com on Sun, Mar 11, 2001 at 04:09:15PM -0500 On Sun, Mar 11, 2001 at 04:09:15PM -0500, Marcus A Martin wrote: >Some more. Argyle. cgf >> -----Original Message----- >> From: cygwin-owner AT sources DOT redhat DOT com >> [mailto:cygwin-owner AT sources DOT redhat DOT com]On Behalf Of Earnie Boyd >> Sent: Saturday, March 10, 2001 10:18 AM >> To: cygwin AT cygwin DOT com >> Subject: Re: Eliminate make's search for sh.exe under Cygwin? >> >> >> 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. -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple