delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/04/18/09:29:41

X-Spam-Check-By: sourceware.org
Message-ID: <4444E9B6.10704@scytek.de>
Date: Tue, 18 Apr 2006 09:29:26 -0400
From: Volker Quetschke <quetschke AT scytek DOT de>
User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: csh and/or GNU make bug
References: <20060418011535 DOT DE17216400E AT perth DOT ovpit DOT indiana DOT edu> <17476 DOT 21300 DOT 788545 DOT 213068 AT lemming DOT engeast DOT baynetworks DOT com>
In-Reply-To: <17476.21300.788545.213068@lemming.engeast.baynetworks.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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

--------------enig20A9A557FAD7230B9A07A686
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Hi!

Paul D. Smith wrote:
> %% 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.

First a question: Can you really reproduce this problem?

I'm asking because some people have peported hangs while building
OpenOffice.org (cygwin's tcsh is used as part of the build environment).
and if you remove the -f this "cures" or reduces the number of hangs.

tcsh is used as the shell used by the make utility (dmake) that is used.

Un-? Fortunately only a few people are able to reproduce this hang. If this
really hangs reproducible for you (works fine here) this might be a start to
locate the problem

> 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.
I don't see any argument against tcsh if it does what it's supposed to do
as part of the make process. Evaluate the command line and eventually start
a programs for the make tool.

  Volker

> Really, csh is just broken--and for makefiles even moreso.
> 
> My HO, of course :-).
> 

-- 
PGP/GPG key  (ID: 0x9F8A785D)  available  from  wwwkeys.de.pgp.net
key-fingerprint 550D F17E B082 A3E9 F913  9E53 3D35 C9BA 9F8A 785D

--------------enig20A9A557FAD7230B9A07A686
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (MinGW)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFEROm2PTXJup+KeF0RAuR5AJ4qMM9WWeJ6DN9pe9n7lcliOe2uJACgoVhZ
U+/sBE+tCd6etssjDg2QDxw=
=at2h
-----END PGP SIGNATURE-----

--------------enig20A9A557FAD7230B9A07A686--

- Raw text -


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