Re: [PATCH] GCC Ada/GNAT configuration for GNU/Hurd

2012-08-08 Thread Thomas Quinot
* Arnaud Charlet, 2012-06-18 : > > > > -#if defined (__linux__) && !defined (_XOPEN_SOURCE) > > > > +#if (defined (__linux__) || defined (__GNU__)) && !defined > > > > (_XOPEN_SOURCE) > > > > /** For Linux _XOPEN_SOURCE must be defined, otherwise IOV_MAX is not > > > > defined > > > > **/ > >

Re: [PATCH] GCC Ada/GNAT configuration for GNU/Hurd

2012-06-18 Thread Arnaud Charlet
> Hi, I tried with s-taprop-posix.adb earlier (among many tries), but > GNU/Hurd does not seem to be fully POSIX pthread compliant yet, > unfortunately. At least to my findings. Well, would be good to understnad in more details what's missing. Some trivial missing wrappers are better put in s-osi

Re: [PATCH] GCC Ada/GNAT configuration for GNU/Hurd

2012-06-18 Thread Svante Signell
On Mon, 2012-06-18 at 12:23 +0200, Arnaud Charlet wrote: > > Here is a patch that adds a basic GCC Ada/GNAT configuration for x86 > > GNU/Hurd. This has originally been created by Svante Signell for use > > with Debian's GCC 4.6 package, and now I have ported it to trunk, and > > also applied some

Re: [PATCH] GCC Ada/GNAT configuration for GNU/Hurd

2012-06-18 Thread Arnaud Charlet
> > Another comment: > > > > > --- a/gcc/ada/s-oscons-tmplt.c > > > +++ b/gcc/ada/s-oscons-tmplt.c > > > @@ -80,7 +80,7 @@ pragma Style_Checks ("M32766"); > > > > > > /* Feature macro definitions */ > > > > > > -#if defined (__linux__) && !defined (_XOPEN_SOURCE) > > > +#if (defined (__linux_

Re: [PATCH] GCC Ada/GNAT configuration for GNU/Hurd

2012-06-18 Thread Thomas Schwinge
Hi! On Mon, 18 Jun 2012 12:23:47 +0200, Arnaud Charlet wrote: > > Here is a patch that adds a basic GCC Ada/GNAT configuration for x86 > > GNU/Hurd. This has originally been created by Svante Signell for use > > with Debian's GCC 4.6 package, and now I have ported it to trunk, and > > also appli

Re: [PATCH] GCC Ada/GNAT configuration for GNU/Hurd

2012-06-18 Thread Arnaud Charlet
> Here is a patch that adds a basic GCC Ada/GNAT configuration for x86 > GNU/Hurd. This has originally been created by Svante Signell for use > with Debian's GCC 4.6 package, and now I have ported it to trunk, and > also applied some further changes. > > 2012-06-16 Svante Signell > T