Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
To: cygwin@cygwin.com
Subject: Re: checking for working mmap...no
Mail-Copies-To: never
Reply-To: sds@gnu.org
X-Attribution: Sam
X-Disclaimer: You should not expect anyone to agree with me.
From: Sam Steingold <sds@gnu.org>
In-Reply-To: <20040915210751.GG23012@trixie.casa.cgf.cx> (Christopher Faylor's message of "Wed, 15 Sep 2004 17:07:51 -0400")
References: <uk6uvnxt9.fsf@gnu.org> <20040915210751.GG23012@trixie.casa.cgf.cx>
Mail-Followup-To: cygwin@cygwin.com
Date: Wed, 15 Sep 2004 18:33:06 -0400
Message-ID: <ullfbtb6l.fsf@gnu.org>
User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt)
MIME-Version: 1.0
Content-Type: text/plain

> * Christopher Faylor <pts-ab-crefbany-ercyl-cyrnfr@pltjva.pbz> [2004-09-15 17:07:51 -0400]:
>
> On Wed, Sep 15, 2004 at 03:20:50PM -0400, Sam Steingold wrote:
>>It appears that cygwin mmap() is lacking:
>>
>>configure:20536: checking for working mmap
>>configure:20617: gcc -o conftest.exe -g -O2 conftest.c  >&5
>>configure:20620: $? = 0
>>configure:20622: ./conftest.exe
>>configure:20625: $? = 1
>>configure: program exited with status 1
>>configure: failed program was:
>
> It would be enormously helpful if you apprised us of exactly *what*
> was wrong rather than expecting us to figure it out.

Let me assure you that you know these matters much better than I do.

The C program in my original e-mail is supposed to terminate with exit
code 0 if mmap() works correctly.  It does, e.g., on Linux and Solaris.

On cygwin, it terminates with exit code 1, which indicates that mmap()
does not work correctly as it is supposed to according to the spec.

Unfortunately, I am far from being an expert on these matters...

-- 
Sam Steingold (http://www.podval.org/~sds) running w2k
<http://www.camera.org> <http://www.iris.org.il> <http://www.memri.org/>
<http://www.mideasttruth.com/> <http://www.honestreporting.com>
Bus error -- please leave by the rear door.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

