delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/04/17/22:47:58

X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Message-ID: <17476.21300.788545.213068@lemming.engeast.baynetworks.com>
Date: Mon, 17 Apr 2006 22:47:16 -0400
To: gustav <gustav AT indiana DOT edu>
Cc: cygwin AT cygwin DOT com
Subject: Re: csh and/or GNU make bug
In-Reply-To: <20060418011535.DE17216400E@perth.ovpit.indiana.edu>
References: <20060418011535 DOT DE17216400E AT perth DOT ovpit DOT indiana DOT edu>
X-Mailer: VM 7.19 under Emacs 21.4.1
From: "Paul D. Smith" <psmith AT gnu DOT org>
Reply-To: "Paul D. Smith" <psmith AT gnu DOT org>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

%% gustav <gustav AT indiana DOT edu> writes:

  g> There is a bug either in GNU make or in tcsh or in both---on
  g> Cygwin. The combination of csh and GNU make will hang if SHELL is
  g> declared as /bin/csh -f.

I don't know what is causing this particular issue.

However, I have to strongly recommend that no one should use csh, in any
form, as the value for SHELL in a makefile.

There are too many odd things about the way csh works that makes it
inappropriate for use with make.  Primarily the issues involve quoting
and multi-line scripting, but there are more subtle issues as well: for
example the jobserver feature (not available on the Windows port--yet)
does not work with csh, because csh has an annoying habit of closing
open file descriptors when it starts up.


Really, csh is just broken--and for makefiles even moreso.

My HO, of course :-).

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <psmith AT gnu DOT org>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.paulandlesley.org
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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