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: Ada merge of 2003-04-23 (cal.c) vs mingw32


On Mon, 2003-05-12 at 01:05, Danny Smith wrote:
>  --- Laurent GUERBY <guerby@acm.org> wrote: > On Mon, 2003-05-12 at 00:00,
> Danny Smith wrote:
> > > The "formatting and trivial change" merge in ada directory
> > > 
> > > 2003-04-23   Geert Bosch <bosch@gnat.com>
> > > 
> > > added this to cal.c:
> > > 
> > > +#ifdef __MINGW32__
> > > +#include "mingw32.h"
> > > +#if STD_MINGW
> > > +#include <winsock.h>
> > > +#endif
> > > +#endif
> > > +
> > > 
> > > This breaks mingw32 build.
> > > 
> > > Where is "mingw32.h"
> > > Where is STD_MINGW documented?
> > 
> > mingw32.h is available in the ACT tree, see the end of
> > <http://libre.act-europe.fr/GNAT/main.html> on how to check
> > it out.
> > 
> 
> Does that mean that one is expected to download the ACT tree in order to build
> gnat for mingw?  

No, but I assume if you need to make some progress you can pick-up
some code from there when it's not working.

>From the build status page, it looks like people haven't been reporting
build status for mingw for GCC 3.2 (even C), I don't know if someone
has successfully built 3.3 prereleases on mingw32 (did you try with
3.3?).

> Why isn't this file in the FSF repository?

A merge of the ACT repository into the FSF one is in progress,
I guess nobody noticed this synchronisation problem before you.

Note that Ada tasking is currently broken on x86 because
of a code generation problem introduced last week, see
<http://gcc.gnu.org/ml/gcc/2003-05/msg00989.html>.


> BTW recent versions of mingw also define MAXPATHLEN, so I would submit a patch
> for "mingw32.h", but I'm confused now about who to submit it to...

I believe this is already taken care of in the ACT tree (see adaint.c
there).

Laurent


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