Mail Archives: cygwin/1998/11/05/00:35:12
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 AT vega DOT pfts DOT com>
Till: gnu-win32 AT cygnus DOT com <gnu-win32 AT cygnus DOT 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 AT cygnus DOT com" with one line of text: "help".
- Raw text -