delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/10/24/09:30:02

From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: @$$Backwards (DJGPP Linux port)
Date: Sun, 24 Oct 1999 10:05:22 +0200
Organization: NetVision Israel
Lines: 27
Message-ID: <Pine.SUN.3.91.991024100505.29385m-100000@is>
References: <199910230820 DOT MAA14978 AT ape DOT school DOT ioffe DOT rssi DOT ru> <gemQ3.459$Ol4 DOT 14609 AT dfiatx1-snr1 DOT gtei DOT net>
NNTP-Posting-Host: is.elta.co.il
Mime-Version: 1.0
X-Trace: news.netvision.net.il 940752244 9709 199.203.121.2 (24 Oct 1999 08:04:04 GMT)
X-Complaints-To: abuse AT netvision DOT net DOT il
NNTP-Posting-Date: 24 Oct 1999 08:04:04 GMT
X-Sender: eliz AT is
In-Reply-To: <gemQ3.459$Ol4.14609@dfiatx1-snr1.gtei.net>
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Sat, 23 Oct 1999, Damian Yerrick wrote:

> > I want to use DJGPP libraries, headers,
> 
> libc is already in gcc. Headers are the same.

Not true.  First, the library is not part of the compiler, it's a
separate package, both in DJGPP and in Linux.  The latter uses the GNU
libc, or glibc, which is totally different from the DJGPP library,
written from scratch specifically for the DJGPP project (that's why
DJGPP-compiled programs are not under LGPL, the GNU library license).

And second, the DJGPP headers are also different from Linux's, because
headers are tightly coupled with the library.

Of course, functionally both the Linux library and headers are similar
to DJGPP's, since both versions comply to similar standards.  But the
Linux library is much larger and more powerful.

> > dpmi (emulated) functions under Linux.
> 
> It would be better to port code that uses DPMI
> for the Linux memory manager.

This cannot be done, in general.  DPMI allows things that Linux
doesn't.

- Raw text -


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