www.delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Delivered-To: | fixup-cygwin AT cygwin DOT com@fixme |
From: | "Paul G." <pgarceau AT qwest DOT net> |
Organization: | Paul G. |
To: | cygwin AT cygwin DOT com |
Date: | Thu, 13 Dec 2001 19:09:31 -0800 |
MIME-Version: | 1.0 |
Subject: | Re: gcc -mno-cygwin fail -- undefined reference to `_impure_ptr' |
Reply-to: | pgarceau AT qwest DOT net |
Message-ID: | <3C18FCEB.12750.10E80DF@localhost> |
In-reply-to: | <188540531413.20011212172424@logos-m.ru> |
References: | <pu5l57l5 DOT fsf AT blue DOT sea DOT net> |
X-mailer: | Pegasus Mail for Windows (v4.01) |
On 12 Dec 2001 at 17:24, egor duda wrote: > Hi! > > Wednesday, 12 December, 2001 Jari Aalto+mail.emacs > jari DOT aalto AT poboxes DOT 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |