delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/02/19/10:23:42

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
X-Authentication-Warning: thing1-200.fsi.com: ford owned process doing -bs
Date: Thu, 19 Feb 2004 09:22:55 -0600 (CST)
From: Brian Ford <ford AT vss DOT fsi DOT com>
X-X-Sender: ford AT thing1-200
Reply-To: cygwin AT cygwin DOT com
To: chuanyung <cylin AT avant DOT com DOT tw>
cc: cygwin AT cygwin DOT com
Subject: Re: g++ can't find <sys/mman.h>?
In-Reply-To: <loom.20040219T090922-143@post.gmane.org>
Message-ID: <Pine.GSO.4.58.0402190913580.11688@thing1-200>
References: <loom DOT 20040219T090922-143 AT post DOT gmane DOT org>
MIME-Version: 1.0
X-IsSubscribed: yes

On Thu, 19 Feb 2004, chuanyung wrote:

> Dear all,
>
> I already download the latest version cygwin. and setup in win2000.
> I use g++ to compile a cpp file with mmap function.
> But it can't find the header file.
> What should I do?
>
First, please try reading the problem reporting guide lines available
here: http://cygwin.com/problems.html.  Please pay special attention to
the part about attaching the output of cygcheck.  This will allow us to
see the specific configuration details of your system and installation.
Thus, we will be able to help you much faster.

Also, please post the exact g++ compile line and output so we know exactly
what "it can't find the header file" means.

Using the package search facility available here:
http://cygwin.com/packages/ shows mman.h to be part of the main cygwin
package.  As such, it should be present unless you have a botched
installation.

> And how to use make?
> When I type make: it's borland make, not gnu make.
> How to setup?
>
Hint: It is a problem with you PATH environment variable.  You have the
directory containing Borland make ahead of /usr/bin in your PATH.  See:
http://cygwin.com/faq/faq_toc.html#TOC35 for more details.

HTH

-- 
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
Phone: 314-551-8460
Fax:   314-551-8444

--
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/

- Raw text -


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