-mno-cygwin failing at link
Mumit Khan
khan@NanoTech.Wisc.EDU
Wed Mar 15 12:01:00 GMT 2000
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@sourceware.cygnus.com
More information about the Cygwin
mailing list