delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/03/31/14:50:30

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Date: Fri, 31 Mar 2000 09:49:07 -1000 (HST)
From: Jimen Ching <jching AT flex DOT com>
To: cygwin AT sourceware DOT cygnus DOT com
Subject: Re: missing prototypes in io.h
In-Reply-To: <200003311609.KAA12676@pluto.xraylith.wisc.edu>
Message-ID: <Pine.BSI.4.05L.10003310931380.28968-100000@flex.com>
MIME-Version: 1.0

On Fri, 31 Mar 2000, Mumit Khan wrote:
>  /* Get access() prototype. */
>  #ifdef __MINGW32__
>  # include <io.h>
>  #elif HAVE_UNISTD_H
>  # include <unistd.h>
>  #else
>  # /* do something to declare access() on systems that lack unistd.h.
>  #endif

So you are suggesting I either; 1. compile the library with mingw32 or 2.
modify the library to include unistd.h and compile with non-mingw32?

In short, you are saying that I can not compile a Win32 library and/or
application using the non-mingw32 gcc.  Is this correct?  I was under the
assumption that the --no-cygwin32 was to disable linking in the UNIX
layer.  It was not intended to allow compiling Win32 source code without
modification.  The latter is what I am trying to do.

Let me know if this is the case, and I'll notify the library vendor.

--jc
--
Jimen Ching (WH6BRR)      jching AT flex DOT com     wh6brr AT uhm DOT ampr DOT org


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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