delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/06/26/05:45:11

From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: `mmap' undeclared
Date: 26 Jun 2003 09:41:31 GMT
Organization: Aachen University of Technology (RWTH)
Lines: 15
Message-ID: <bdef4b$k1j$1@nets3.rz.RWTH-Aachen.DE>
References: <bddsop$ro42n$1 AT ID-79865 DOT news DOT dfncis DOT de>
NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de
X-Trace: nets3.rz.RWTH-Aachen.DE 1056620491 20531 137.226.32.75 (26 Jun 2003 09:41:31 GMT)
X-Complaints-To: abuse AT rwth-aachen DOT de
NNTP-Posting-Date: 26 Jun 2003 09:41:31 GMT
Originator: broeker@
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Alex Vinokur <alexvn AT bigfoot DOT com> wrote:

> Note. Cygwin/gcc has no problem with compilation of that code.
[...]
> What is wrong?

Your expectations of what a DOS-targetted environment like DJGPP can,
and what it simply can't do.  mmap() is about as impossible to
implement without direct support by the OS as it gets.  And neither
DOS itself nor DPMI support it at all, as far as I'm aware.  The
Windows 32-bit API may, but that's an entirely unrelated piece of
cake.
-- 
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.

- Raw text -


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