delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/02/07/04:47:50

Date: Sun, 7 Feb 1999 11:44:18 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Martin Str|mberg <ams AT ludd DOT luth DOT se>
cc: djgpp AT delorie DOT com
Subject: Re: make crash
In-Reply-To: <79ib7s$23q$1@news.luth.se>
Message-ID: <Pine.SUN.3.91.990207114337.15342K-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

On 6 Feb 1999, Martin Str|mberg wrote:

> Ok. I know what is causing the problem. My environment variable SHELL
> is set to "f:/djgpp/bin/-bash.exe".

Why would you need that?  AFAIK, -bash is only needed in interactive
invocation, to make it a login shell, but should never be necessary
(and could be even dangerous) after that.

> This -bash.exe created I with "ln
> -s -- bash -bash", hence the problem (I suppose) is make crashes if
> SHELL is set to a DJGPP symbolic link while building tar.

Did you try to actually copy bash.exe into -bash.exe, and see if that
prevents Make from crashing?  I don't recollect any special treatment
of symlinks in Make, so I'd rather suspect Bash being invoked as a
login shell when it shouldn't be.

> However I have been using make without problems building other things
> (like djdev202). Why is tar ('s makefiles) showing this behaviour? Any
> ideas?

I suspect that the reason is somewhere in your .bash_login or
.bash_profile files, and in its interaction with the Tar Makefile.

- Raw text -


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