> Attached is a patch for support of GNU/Hurd in gnat-4.9. This patch has > been used and updated in Debian since gnat-4.6, and is currently used to > build gnat-4.9. Now when the body file s-osinte-posix.adb in gcc-4.9 > defines tv_nsec in timespec POSIX-correctly as long again, we think it > is time that it goes upstream. The patch contains two parts: > > src/gcc/ada/gcc-interface/Makefile.in: > Defines LIBGNAT_TARGET_PAIRS for GNU/Hurd > > src/gcc/ada/s-osinte-gnu.ads: > A new file giving the OS interface specification for GNU/Hurd. This file > is a modification of the already existing s-osinte-*.ads files.
It's quite nice that you need only one specific file for GNU/Hurd. This is mostly OK, but your LIBGNAT_TARGET_PAIRS looks a bit outdated, specifically for the atomic support, see the other *BSD for reference. -- Eric Botcazou