This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Autoconf 2.53 check for working mmap fails
- From: Corinna Vinschen <cygwin at cygwin dot com>
- To: "'cygwin'" <cygwin at cygwin dot com>
- Date: Mon, 8 Apr 2002 09:29:24 +0200
- Subject: Re: Autoconf 2.53 check for working mmap fails
- References: <000001c1dcc0$9cd0b680$0200a8c0@sknet01>
On Fri, Apr 05, 2002 at 05:40:36PM +0100, (1pH3r_IVI4IV14( wrote:
> When configuring a package using autoconf-2.53, the built-in check for
> mmap (AC_FUNC_MMAP I believe) fails:
>
> [...]
> checking for working mmap... no
> [...]
That's expected unfortunately. The mmap test in autoconf (I know
this failing test since at least version 2.13) checks the memory
mapping using a UNIXism. It tries to mmap() a file to an already
area already allocated using malloc(). This is plainly impossible
on Win32 where the memory used for mmap must be unallocated
and which has to reside in a special memory arae used for mappings.
Therefore the autoconf mmap test must fail on Win32.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:cygwin@cygwin.com
Red Hat, Inc.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/