Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 To: "Vincent P. LaBella" cc: Cygwin List Subject: Re: -mno-cygwin failing at link In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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