www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/03/16/13:13:15

Date: Tue, 16 Mar 1999 18:17:04 +0100
From: Frank Heckenbach <frank AT tim DOT gerwinski DOT de>
Message-Id: <7D0EB227.19990316181704.FOO-10B5.frank@goedel.fjf.gnu.de>
X-Mailer: smtphack 0.3.3 by Jan Andres
To: eliz AT is DOT elta DOT co DOT il, peter AT gerwinski DOT de, pavenis AT lanet DOT lv,
djgpp-workers AT delorie DOT com
Subject: Re: [pavenis AT lanet DOT lv: Re: DJGPP binaries of egcs-1.1.2-pre3 available for testing]
X-Counter: 911 peter AT gerwinski DOT de
Reply-To: djgpp-workers AT delorie DOT com

> > > > Where did you need to put this line?  In general, shell scripts
> > > > should work correctly without such a setting, provided that you have
> > > > sh.exe (a symlink to bash.exe) somewhere on your PATH.
> > 
> > FWIW, I've set SHELL in autoexec.bat, then running make from
> > command.com works, too.
> 
> I would still like to understand why did you need to set SHELL at
> all.  It shouldn't be required.

If I don't, it seems like make tries to execute command.com, even if
I start make from bash. Perhaps some other settings of mine are
responsible for this, but I wouldn't know what to look for. BTW, I'm
using NWDOS 7.0, if this makes a difference.

> > > 'SHELL=$DJDIR/bin/sh.exe make' from bash works. However I'm
> > > getting problems later due to Win9X DPMI problems (large number
> > > of processes). Therefore I tried this running bash under 
> > > DOSEMU-0.99.9 in Linux (kernel-2.2.3, glibc-2.1, etc). Had to increase
> > > max number of simultanous DPMI clients for DOSEMU and rebuild it as
> > > the default (8) was insufficient.
> > 
> > Thanks for the hint -- I had the same problem. After increasing the
> > number of clients, and increasing DPMI memory to 32 MB, these tests
> > now work for me.
> 
> Could you please tell the details about how these changes are done on
> Linux?  It might be a valuable addition to the next release of the
> FAQ.  Thanks.

In src/dosext/dpmi/dpmi.h, I changed DPMI_MAX_CLIENTS to 32 (that's
more than really needed here, but I like to keep something in
reserve ;-), and in /etc/dosemu.conf I did:

dpmi 32768 # DPMI size in K, or "off"

(Again, more than enough for these tests. According to top, they
"only" needed about 18 MB.)

However, this is for Dosemu 0.66.7. I haven't gotten around to
converting my config files to the newer format, so things might be a
little different with the current Dosemu versions.

Frank

--
Frank Heckenbach, frank AT fjf DOT gnu DOT de
http://fjf.gnu.de/
PGP and GPG keys: http://fjf.gnu.de/plan

- Raw text -


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