www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/03/15/15:02:53

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
X-Authentication-Warning: hp2.xraylith.wisc.edu: khan owned process doing -bs
Date: Wed, 15 Mar 2000 14:01:17 -0600 (CST)
From: Mumit Khan <khan AT NanoTech DOT Wisc DOT EDU>
To: "Vincent P. LaBella" <vlabella AT comp DOT uark DOT edu>
cc: Cygwin List <cygwin AT sourceware DOT cygnus DOT com>
Subject: Re: -mno-cygwin failing at link
In-Reply-To: <Pine.SOL.4.10.10003141326480.29508-100000@comp.uark.edu>
Message-ID: <Pine.HPP.3.96.1000315135950.28318G-100000@hp2.xraylith.wisc.edu>
MIME-Version: 1.0

On Tue, 14 Mar 2000, Vincent P. LaBella wrote:

> -mno-cygwin flag is failing at link time.  Here is the output.
> 
> gcc -O3 -s -mcpu=i686 -fomit-frame-pointer -Wno-return-type
> -DGLEBINS=\""/gle"\" glecmd.cc -o gle -I/usr/local/include -Dunix
> -mno-cygwin -lncurses -lstdc++
> In file included from
> /d/cygnus/CYGWIN~1/H-I586~1/bin/../lib/gcc-lib/i586-cygwin
> 32/2.95.2/../../../../i586-cygwin32/include/sys/wait.h:5,
>                  from glecmd.cc:15:
> /d/cygnus/CYGWIN~1/H-I586~1/bin/../lib/gcc-lib/i586-cygwin32/2.95.2/../../../../
> i586-cygwin32/include/sys/resource.h:14: field `ru_utime' has incomplete
> type
> /d/cygnus/CYGWIN~1/H-I586~1/bin/../lib/gcc-lib/i586-cygwin32/2.95.2/../../../../
> i586-cygwin32/include/sys/resource.h:15: field `ru_stime' has incomplete
> type make: *** [gle] Error 1


There is no such header sys/resource.h for Mingw, and the functionality
you're looking for doesn't exist in the Mingw runtime. That's one of the
reasons why people use Cygwin.

> I have b20.1 with gcc 2.95.2 installed.  IS there another package that I
> need to install or configure to get -mno-cygwin to work??

Please take a look at my mno-cygwin howto:

http://www.xraylith.wisc.edu/~khan/software/gnu-win32/#mno-cygwin

Regards,
Mumit



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