Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 X-X-Sender: ford AT thing1-200 Reply-To: cygwin AT cygwin DOT com To: chuanyung cc: cygwin AT cygwin DOT com Subject: Re: g++ can't find ? In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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/