This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: [gfortran] patch for mingw


> OK by me.  'windows' should be spelt 'MS Windows'

OK.

>> * acinclude.m4 (LIBGFOR_CHECK_MINGW_TARGET): Add new macro for
>> mingw targets.
> 
> No, please.  __MINGW32__ and __WIN32 are already predefined for target libs.

What do they refer to exactly? I guess __MINGW32__ is what i want, but is
__WIN32 a strict equivalent? Or does it include cygwin systems? What
about the difference between _WIN32 and __WIN32?

__WIN32 is found in ada front-end, while _WIN32 is found in libiberty,
libjava and libobjc (the latter with "#if defined (_WIN32) || defined
(__WIN32__) || defined (WIN32)").

I guess a brief summary of which means what would be in order.

> I was planning to submit the code you cut from the bug report as a
> libiberty patch once 4.2 was open. [...] A libiberty version, however,
> would not help libgfortran.

Right.

As for the code itself, having a fallback case for older win versions
would be nice. Is there a way to do this?

-- 
FX


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