[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Odd effects from setting SHELL?
From: |
Paul Smith |
Subject: |
Re: Odd effects from setting SHELL? |
Date: |
Wed, 27 Jun 2007 09:12:48 -0400 |
On Thu, 2007-06-21 at 14:43 -0600, Philip Guenther wrote:
> Makefiles should always be written with /bin/sh syntax for portability
> and avoid the limitations in csh syntax. (For example, a makefile
> rule written in csh can't loop using csh's 'foreach', as that requires
> a real newline. sh's 'for' doesn't have that problem.)
There are more subtle problems as well: for example, you can't use
parallel make (-jN) with SHELL set to csh. It turns out that csh does
some stupid manipulation of file descriptors that don't belong to it,
which interferes with GNU make's job server capability.
Just remember: friends don't let friends use csh.
--
-------------------------------------------------------------------------------
Paul D. Smith <address@hidden> 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
- Re: Odd effects from setting SHELL?, (continued)
- Re: Odd effects from setting SHELL?, Philip Guenther, 2007/06/21
- Message not available
- Message not available
- Odd effects from setting SHELL?, Christian Convey, 2007/06/22
- Re: Odd effects from setting SHELL?, Bob Proulx, 2007/06/24
- Re: Odd effects from setting SHELL?, Christian Convey, 2007/06/25
- Message not available
- Re: Odd effects from setting SHELL?, David Boyce, 2007/06/25
- RE: Odd effects from setting SHELL?, Dave Korn, 2007/06/25
- Re: Odd effects from setting SHELL?, Philip Guenther, 2007/06/25
Re: Odd effects from setting SHELL?,
Paul Smith <=