Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@sources.redhat.com Delivered-To: mailing list cygwin@sources.redhat.com Date: Sat, 10 Mar 2001 00:23:41 -0500 From: Christopher Faylor To: cygwin@cygwin.com Subject: Eliminate make's search for sh.exe under Cygwin? Message-ID: <20010310002341.A10357@redhat.com> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.11i 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? cgf -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple