| delorie.com/archives/browse.cgi | search |
| From: | earnie_boyd AT yahoo DOT com (Earnie Boyd) |
| Subject: | Re: B20: bad support for Mingw? |
| 5 Nov 1998 00:34:59 -0800 : | |
| Message-ID: | <19981103151050.22640.rocketmail.cygnus.gnu-win32@send1e.yahoomail.com> |
| Reply-To: | earnie_boyd AT yahoo DOT com |
| Mime-Version: | 1.0 |
| To: | Maxim Sobolev <max AT vega DOT pfts DOT com>, gnu-win32 AT cygnus DOT com |
| Cc: | noer AT cygnus DOT com, cgf AT cygnus DOT com |
---Maxim Sobolev <max AT vega DOT pfts DOT com> wrote:
>
> It seems to me that "-mno-cygwin" switch doesn't make it magick to
> include Mingw32 version of header files (program that just fine
compiled
> with Mingw32 with B20 doesn't). Maybe there is any other switch to
> include all needed header (Mingw instead of Cygwin) files? Any ideas?
>
I was able to resolve this by prefixing ../../../../ to the
include/mingw32 in the -mno-cygwin commands for the cpp in the specs
file.
Here is the section of the specs file with the switches that work:
*cpp:
-remap %(cpp_cpu) %{posix:-D_POSIX_SOURCE}
%{!mno-cygwin:-D__CYGWIN32__ -D__CY
GWIN__} %{mno-cygwin:-iwithprefixbefore ../../../../include/mingw32
-D__MINGW3
2__=0.2}
I verifyed that it picked up the correct header file by specifying the
-H switch on the command line verifying that include/mingw32/dirent.h
was included instead of include/dirent.h.
==
- \\||//
-------------o0O0--Earnie--0O0o--------------
-- earnie_boyd AT yahoo DOT com --
-- http://www.freeyellow.com/members5/gw32 --
----------------ooo0O--O0ooo-----------------
PS: Newbie's, you should visit my page.
_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com
-
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".
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |