delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/06/28/04:50:23

X-Authentication-Warning: acp3bf.physik.rwth-aachen.de: broeker owned process doing -bs
Date: Mon, 28 Jun 1999 10:48:05 +0200 (MET DST)
From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
X-Sender: broeker AT acp3bf
To: djgpp workers list <djgpp-workers AT delorie DOT com>
Subject: Re: Problems with bash-2.03
In-Reply-To: <Pine.A41.4.05.9906281008060.60394-100000@ieva01.lanet.lv>
Message-ID: <Pine.LNX.3.93.990628104140.16354C-100000@acp3bf>
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

Hi, everyone.

I've not followed all of this very closely, but let me just throw in some
wild guesses that came to my mind.

On Mon, 28 Jun 1999, Andris Pavenis wrote:
> On Sun, 27 Jun 1999, Eli Zaretskii wrote:
[...]
> > One case when Make cannot invoke Bash is when something happens to PATH.  
> > This causes the "SHELL = /bin/sh" line in a Makefile to be effectively 
> > ignored.
> 
> Yes it's really seems that problem is with PATH:

> 	When I used old bash-1.14.7 binary all worked Ok. After changing
> 	to bash-2.03 binary I found that even configure due to unknown
> 	reason does not find gcc.exe in D:/DJGPP/BIN (it's there, if I'm
> 	running it directly) but finds it in C:/DJGPP/BIN which doesn't
> 	work of course due to changed DJGPP env. variable. 

Any possibility that inside bash, your change of PATH didn't really
happen? Have you checked what 'type gcc' says, in Bash, with both
DJGPP\BIN directories in the path?  If you use bash as your 'login shell',
you might have to 'hash -r' after changing the PATH. Or this just might be
another problem with the drive letter handling in bash, I think.

> 	After that I removed C:/DJGPP/BIN from PATH and left only
> 	D:/DJGPP/BIN there. After that I got problems in form I described 
> 	earlier (attempt to use command.com instead of bash).

A very wild guess: have you checked there actually _is_ a bash.exe and
sh.exe in d:\djgpp\bin, not only in c:\djgpp\bin, and also the usual
\bin\sh stuff on both c:  and d: drivers? 

Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.

- Raw text -


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