This is the mail archive of the cygwin-patches 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]
Other format: [Raw text]

Re: [WIP] mingw64 related changes to Cygwin configure and other assorted files with departed w32api/mingw


On Nov 13 13:34, Christopher Faylor wrote:
> On Tue, Nov 13, 2012 at 12:39:00PM -0500, Christopher Faylor wrote:
> >Maybe I can use -isystem with ccwraper.  I'd previously gotten things
> >working without the wrapper, using idirafter so that's what I stuck
> >with.  However, the wrapper may now allow just always including the
> >windows headers last.
> 
> Yep.  Adding the windows headers directories dead last as -isystem means
> that none of my header file changes are needed, *except* for the #define
> _WIN32.  I wonder why you don't need those.  My (i.e., Yaakov's) cross
> compiler doesn't define _WIN32.
> 
> % /cygwin/bin/i686-cygwin-gcc --version
> i686-cygwin-gcc (GCC) 4.5.3 20110428 (Fedora Cygwin 4.5.3-4)
> Copyright (C) 2010 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> 
> % /cygwin/bin/i686-cygwin-gcc -dD -E -xc /dev/null | grep WIN
> #define __WINT_TYPE__ unsigned int
> #define __WINT_MAX__ 4294967295U
> #define __WINT_MIN__ 0U
> #define __SIZEOF_WINT_T__ 4
> #define __CYGWIN32__ 1
> #define __CYGWIN__ 1
> 
> So, except for that, mystery solved.
> 
> My new, smaller diff is attached.  Unless you have objections, I'll be
> checking this in.

I have no objections against the patch in general, but I'd rather like to
test it first.  I'd like to try to figure out what the _WIN32 problem is
first, and I'd like to give it a try in the 64 bit scenario.


Thanks,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat


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