[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Detecting kfreebsd kernel while compiling [hurd]



Hi,

Joachim Wiedorn <ad_debian@joonet.de> writes:

> But I don't now how can I specify a GNU/Hurd (with mach-Kernel)
> system (hurd-i386), which is still an unofficial port of Debian. I have
> only tried 'defined (__hurd__)' which does not work.
>
> I think if I say 'defined (__GNU__)' this is always the same an ALL
> Debian systems because Debian alsways use GNU-OS.

‘__GNU__’ is only defined on GNU/Hurd, whereas ‘__GLIBC__’ is defined on
all GNU variants.

Thanks,
Ludo’.


Reply to: