This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
SV: Undefined reference to _impure_ptr. Any glue?
- To: "Maxim Sobolev" <max at vega dot pfts dot com>, <gnu-win32 at cygnus dot com>
- Subject: SV: Undefined reference to _impure_ptr. Any glue?
- From: "Sune Falck" <sunef at hem dot passagen dot se>
- Date: Tue, 3 Nov 1998 18:19:22 +0100
The switch "-mno-cygwin" adds among other things
a switch "-iwithprefixbefore include/mingw32" to the
cpp command - see specs file. This seems not to have
any effect and cpp still reads the stdio.h from the cygwin32
include directory with linking errors as the result.
The mingw32 stdio.h must be first in search order and
I changed the specs file to have an "-I" parameter for
the mingw32 include directory and then C programs
link OK with "-mno-cygwin" but there were still
problems with c++ programs.
/Sune Falck
-----Ursprungligt meddelande-----
Fran: Maxim Sobolev <max@vega.pfts.com>
Till: gnu-win32@cygnus.com <gnu-win32@cygnus.com>
Datum: den 3 november 1998 14:15
Amne: B20: Undefined reference to _impure_ptr. Any glue?
>Hi folks,
>
>I just installed B20 and trying to recompile program which I ported to
>Mingw32. I'm using "-mno-cygwin" switch, as it defined in B20 readme.
>But all program, which previously fine compiled on Mingw32, on link
>stage reported the same error: "undefined reference to _impure_ptr". Do
>you have any ideas?
>
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".