delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/08/28/17:36:33

From: mauch AT uni-duisburg DOT de (Michael Mauch)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Why does make ignore SHELL=bash?
Date: Thu, 28 Aug 1997 14:23:31 +0200
Organization: Home, sweet home (via Gesamthochschule Duisburg)
Lines: 31
Message-ID: <5u3qit$hq4$1@news-hrz.uni-duisburg.de>
References: <5u0td1$k86$1 AT cantuc DOT canterbury DOT ac DOT nz>
NNTP-Posting-Host: ppp53.uni-duisburg.de
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

On 27 Aug 1997 09:52:33 GMT, davin AT cosc DOT canterbury DOT ac DOT nz (Davin Pearson)
wrote:

> I would find it really handy if I could use the same makefiles
> on DOS/DJGPP as I do on UNIX/SunOS at work.
> 
> The problem is that DJ's make utility seems to ignore the
> SHELL=bash declaration and prevents me from using all of bash's
> cool features.  It also makes it a royal pain converting UNIX
> makefiles to DJGPP.

Put the line

SHELL=%DJDIR%/bin/sh.exe

in the global section in the beginning of your djgpp.env file and
everything should be fine. Or see the two-weeks-old thread "Is this
error due to make, bash, or me?" in the mail archive at www.delorie.com.

> I presume there is a deep technical reason why this cannot be done?

Yes, that's discussed in the readme.dos. Quoting Eli Zaretskii:

| Please see the file README.dos for details (by a sad omission,
| it is only included in the source distribution, v2gnu/mak375s.zip).

I can send that readme.dos file (12KB) to you if you like.

Regards...
		Michael

- Raw text -


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