Newsgroups: comp.lang.smalltalk
Path: cantaloupe.srv.cs.cmu.edu!das-news2.harvard.edu!news2.near.net!news.mathworks.com!uunet!zib-berlin.de!ceres.fokus.gmd.de!nntp.gmd.de!news.rwth-aachen.de!newsserver.rrzn.uni-hannover.de!unihil!rz.uni-hildesheim.de!baghira.han.de!petz!jr
From: jr@petz.han.de (Joerg Rade)
Subject: Re: GNU smatalk for DOS
X-Newsreader: TIN [version 1.2 PL2]
Organization: Verstrippte Lagen von Losannien
Message-ID: <D38n3K.277@petz.han.de>
References: <3gbreh$43q@news.halcyon.com>
Date: Mon, 30 Jan 1995 21:45:19 GMT
Lines: 65

Larry da Ponte (daponte@halcyon.halcyon.com) wrote:
: DOS version of GNU Smal Talk gives me the error that it can't 80387 math 
: coprocessor.  Does it require one?  I get this error uppon starting 
: smltk, it never loads.  I an running a 386 33mhz with 16mb and MS DOS 
: version 6.2.  Does any have GNU small talk running under DOS? (not Linux).

The message below from Michael Castle should contain the solution to
your problem -- if not, post to gnu.smalltalk.bug.  

BTW: I prefer Linux.

-j|g 
----8<----
From: mcastle@umr.edu (Michael Castle)
Date: Sat, 5 Mar 1994 17:09:55 GMT

There are two ports of GCC that work with DOS: djgpp and emx.

Both user dos extenders to get the 32-bit flat memory model features
that it needs.

djgpp uses a dos extender called go32.exe.  This is the environment
that ST was ported with.

emx uses a dos extender called emx.exe (I think, i'm not really sure,
and may be wrong on this point).  There is an alternate extender that
works with emx called rsx.  emx is primarily an os/2 development
environment, support for dos is minimal at best and just happens to be
there.  The rsx extender was an attempt to get emx programs to work
with dpmi which is the dos-extender protocol available in dos boxes
under ms-windows, win nt, and os/2.

In short: you cannot use rsx with djgpp developed products, such as
gnu st.

Solution: ftp to oak.oakland.edu and check out the directory
pub/msdos/djgpp.  In one of the zip files there (i'm not sure which, I
think there is a manifest around) there is a file called emu387.  This
is the 387 emulator for djgpp.  Put the file emu387 somewhere on your
home system then do the following:

set go32=emu c:\path1\path2\etc\emu387

This will then let the extender work with the emulator.  If it's also
on oak, you may want to get the wmemu387.  This is an alternate
emulator, a bit faster supposedly.  I'm not sure, I have a coprocessor
so hard for me to tell.

Btw, omnigate.clarkson.edu is the official distrubution point of
djgpp, but it has a 56k link and so tends to be slow.  oakland is a
mirror and a bit faster.

mrc
-- 
Mike Castle .-=NEXUS=-.  Life is like a clock:  You can work constantly
  mcastle@cs.umr.edu     and be right all the time, or not work at all
S087891@UMRVMA.UMR.EDU   and be right at least twice a day.  -- mrc
    We are all of us living in the shadow of Manhattan.  -- Watchmen



-- 
  Joerg Rade   | How could I know what I say | jr@petz.han.de 
 Raabestr. 2   | before I hear what I think? | +49 511 698684 
30177 Hannover +-----------------------------+ S: Pelikanstr. 
