This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: B20: bad support for Mingw?


---Dmitry Bely <dbely@usa.net> wrote:
>
> 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?

Are you sure that you are using the correct cpp?  The info file for
cpp says that -iwithprefixbefore is a valid option.

What does the output of `cygcheck -s -v' say?  If says that it can't
find cpp then you are ok.  If it does find cpp then you've got a
problem with the PATH variable.

==
-                  \\||//
-------------o0O0--Earnie--0O0o--------------
--          earnie_boyd@yahoo.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@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]