delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/11/07/14:35:44

From: dbely AT usa DOT net (Dmitry Bely)
Subject: Re: B20: bad support for Mingw?
7 Nov 1998 14:35:44 -0800 :
Message-ID: <1591.981107.cygnus.gnu-win32@usa.net>
Reply-To: Dmitry Bely <dbely AT usa DOT net>
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com
Cc: earnie_boyd AT yahoo DOT com

Hello Earnie,

You wrote:

> For everyone else on the list,
>
> If you plan to use the -mno-cygwin switch you will need to modify the
> specs file.  Add ../../../../ to the include/mingw32 in the cpp
> section.  It will look like this when your done:
>
> *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}

Alas, this won't help in my case too. As far as I understood, cpp
simply ignore -iwithprefixbefore option, as well as any other unknown
option starting with -i :

cpp -iadracadabra hello.c

won't ever generate error message.

I temporarily resolved the problem by changing -iwithprefixbefore <path>
to -isystem <full-path> in the spec file, but it cannot be a long-term
solution.

any other ideas?

Best regards,
 Dmitry                          mailto:dbely AT usa DOT net


-
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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019