This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc -mno-cygwin fail -- undefined reference to `_impure_ptr'




On 12 Dec 2001 at 17:24, egor duda wrote:

> Hi!
> 
> Wednesday, 12 December, 2001 Jari Aalto+mail.emacs
> jari.aalto@poboxes.com wrote:
> 
> JAme>     Does anyone know why following code fails? Do I need some
> JAme>     other libraries or gcc compile options? This is latest JAme>
>     Cygwin / W2k Pro / srv.p. 2
> 
> JAme>
> ----------------------------------------------------------------------
> -
> 
> JAme> #include <stdio.h>
> JAme> #include <stdlib.h>
> 
> JAme> #include <X11/Intrinsic.h>
> 
> you're including headers for X11 libraries. they're not supported by
> mingw.

	Yes.  More specifically you can not use the -mno-cygwin flag and expect X-windows to function.  The reason, 
Win32api is not X-Windows.

	To reiiterate what some have said earlier, don't use -mno-cygwin unless you really Know What You Are 
Doing.

	Paul G.



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]