On 07/11/11 10:14, Kurt Roeckx wrote:
That means that hurd has a non-standard definition for _IOWR.

#ifdef HURD
#define _IOT__IOTBASE_fmemc_get_buf_addr_t sizeof(fmemc_get_buf_addr_t)
#endif

5.12 still failed with the same error message.

Then "HURD" is not #defined in hurd.  I had to read glibc/gcc source code
to tease out that name, but I guess I read wrong.  What _is_ the
#define that says the compile is for hurd?  On other platforms, the _IOWR
macro just works.  HURD itself is broken.

I've been told it's __GNU__

I would surely hope not.  The reason being is that there is this campaign on
to get everyone to use GNU/Linux as the name of the platform commonly referred
to as "Linux".  If __GNU__ were used to mean "GNU/Hurd", then it would severely
muddy the waters about what is meant by GNU.  So, please tell me the marker
is __hurd__ (or some variation) and not __GNU__.  It would be _so_ wrong.....

Perhaps it is __gnu_hurd__ ??  It would be *really* *cool* if there were
a page lying around somewhere that one could reference.  Here are the results
of grepping the entire gcc compiler source tree:

$ find * -type f|fgrep -v '/.svn/' | xargs egrep -i $'^[ \t]*#[ \t]*if.*hurd'
boehm-gc/include/private/gcconfig.h:#   ifdef HURD
boehm-gc/os_dep.c:#if defined(IRIX5) || defined(OSF1) || defined(HURD)
boehm-gc/os_dep.c:# if defined(IRIX5) || defined(OSF1) || defined(HURD)
boehm-gc/os_dep.c:#   ifdef HURD
boehm-gc/os_dep.c:#   if defined(HURD)
boehm-gc/os_dep.c:#             if defined (IRIX5) || defined(OSF1) || 
defined(HURD)
boehm-gc/os_dep.c:#     if defined(_sigargs) || defined(HURD) || 
!defined(SA_SIGINFO)
boehm-gc/os_dep.c:#   if defined(HPUX) || defined(LINUX) || defined(HURD) \
boehm-gc/os_dep.c:#     if defined(HURD)
gcc/testsuite/gcc.dg/cpp/assert4.c:#if defined __gnu_hurd__

It takes a long time.

Reply via email to