From: Eli Zaretskii 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: References: <199910230820 DOT MAA14978 AT ape DOT school DOT ioffe DOT rssi DOT ru> NNTP-Posting-Host: is.elta.co.il Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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: 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 Precedence: bulk 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.