Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Wed, 12 Dec 2001 17:24:24 +0300 From: egor duda X-Mailer: The Bat! (v1.53 RC/4) Reply-To: egor duda Organization: deo X-Priority: 3 (Normal) Message-ID: <188540531413.20011212172424@logos-m.ru> To: jari DOT aalto AT poboxes DOT com ((Jari Aalto+mail.emacs)) CC: cygwin AT cygwin DOT com Subject: Re: gcc -mno-cygwin fail -- undefined reference to `_impure_ptr' In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 JAme> #include JAme> #include you're including headers for X11 libraries. they're not supported by mingw. JAme> main () JAme> { JAme> fprintf(stdout, "To stdout\n"); JAme> printf("Reading stdin now. Type character: "); JAme> } Egor. mailto:deo AT logos-m DOT ru ICQ 5165414 FidoNet 2:5020/496.19 -- 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/