gcc -mno-cygwin fail -- undefined reference to `_impure_ptr'
egor duda
deo@logos-m.ru
Wed Dec 12 06:39:00 GMT 2001
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.
JAme> main ()
JAme> {
JAme> fprintf(stdout, "To stdout\n");
JAme> printf("Reading stdin now. Type character: ");
JAme> }
Egor. mailto:deo@logos-m.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/
More information about the Cygwin
mailing list