delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/04/08/03:29:48

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Mon, 8 Apr 2002 09:29:24 +0200
From: Corinna Vinschen <cygwin AT cygwin DOT com>
To: "'cygwin'" <cygwin AT cygwin DOT com>
Subject: Re: Autoconf 2.53 check for working mmap fails
Message-ID: <20020408092924.A24639@cygbert.vinschen.de>
Mail-Followup-To: 'cygwin' <cygwin AT cygwin DOT com>
References: <000001c1dcc0$9cd0b680$0200a8c0 AT sknet01>
Mime-Version: 1.0
In-Reply-To: <000001c1dcc0$9cd0b680$0200a8c0@sknet01>
User-Agent: Mutt/1.3.22.1i

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 AT cygwin DOT 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/

- Raw text -


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