From: Hans-Bernhard Broeker 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: References: 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 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.