delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/03/06/02:00:15

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
Message-ID: <3C85BA93.43D146A3@yahoo.com>
From: CBFalconer <cbfalconer AT yahoo DOT com>
Organization: Ched Research
X-Mailer: Mozilla 4.75 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: BASH 2.05 a cannot find GCC.EXE
References: <3c84dfb6$0$4080$9b622d9e AT news DOT freenet DOT de> <3c84f79a DOT sandmann AT clio DOT rice DOT edu> <3c84fe5f$0$12305$9b622d9e AT news DOT freenet DOT de> <3c850cc1 DOT sandmann AT clio DOT rice DOT edu> <3c853c10$0$12701$9b622d9e AT news DOT freenet DOT de> <3c854c79 DOT sandmann AT clio DOT rice DOT edu> <3c856c4d$0$12312$9b622d9e AT news DOT freenet DOT de> <3c859fa3 DOT sandmann AT clio DOT rice DOT edu>
Lines: 31
Date: Wed, 06 Mar 2002 06:52:33 GMT
NNTP-Posting-Host: 12.90.168.146
X-Complaints-To: abuse AT worldnet DOT att DOT net
X-Trace: bgtnsc05-news.ops.worldnet.att.net 1015397553 12.90.168.146 (Wed, 06 Mar 2002 06:52:33 GMT)
NNTP-Posting-Date: Wed, 06 Mar 2002 06:52:33 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Charles Sandmann wrote:
> 
... snip ...
> 
> Since most of the GNU distributions are very Unix/Linux biased, they
> assume you build in a shared library environment.  Quite often a major
> effort to fix.
> 
> On DOS, with only one program running at a time it doesn't make as
> much sense.  Tends to waste memory (you bring everything in the DLL
> in, even if you only need 1 procedure).  Many files to distribute.
> No "standard" location to put them.  No "standard" format.
> 
> One of the things I've been working on is trying to provide a better
> DLL type capability for DJGPP.  Maybe in a future release.

Actually the original real-mode DOS, with all addresses of the
form seg-offset, is much more conducive to this.  A shared library
can contain 0 based code, and all that has to be done is to load
the code and set a segment register.  Although the segments still
exist in DJGPP, they have been all set equal (except for one) to
use a flat scheme, and changing that would not be easy.

There are advantages to segmented memory :-)

-- 
Chuck F (cbfalconer AT yahoo DOT com) (cbfalconer AT XXXXworldnet DOT att DOT net)
   Available for consulting/temporary embedded and systems.
   (Remove "XXXX" from reply address. yahoo works unmodified)
   mailto:uce AT ftc DOT gov  (for spambots to harvest)

- Raw text -


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