Re: [Predef-contribute] Predefined macro updates and fixes
Brought to you by:
breese,
tahonermann
|
From: Bjorn R. <br...@ma...> - 2012-12-30 15:42:18
|
On 2012-12-10 12:24, Guillem Jover wrote: > I just found the reply on the mailing list archive, please CC me as > I'm not subscribed, thanks. Will do. Thanks for your detailed reply. Most of the information has been added now. More replies below. > On Fri, 2012-11-23 at 19:25:45 +0100, Guillem Jover wrote: >> For GNU/kFreeBSD both __FreeBSD_kernel__&& __GLIBC__ should be >> checked, because FreeBSD has started defining __FreeBSD_kernel__ >> (since FreeBSD 8.3, FreeBSD 9.1 and FreeBSD 10.0 on those branches). I have added this to the FreeBSD and GNU/kFreeBSD entries. Just out of curiosity, do you know why it doesn't define something like a __gnu_freebsd__ macro? >> For GNU/Hurd, __gnu_hurd__ is also defined, and because it's currently >> based on the GNU Mach kernel, so is __MACH__. I have added the __gnu_hurd__ macro. I assume that this is sufficient to identify GNU/Hurd. >> The new ARM64 architecture (officially called with the unfortunate >> name of AArch64...), defines the __aarch64__, __AARCH64EB__ and >> __AARCH64EL__ macros (the last two for big and little endian variants). The __aarch64__ has been added to the architecture page, and the other macros to the endianness page. >> The new x32 architecture (or different ABI for AMD64, depending how >> one looks at it), can be distinguished with __amd64__&& __ILP32__. This has been tentatively captured on: http://sourceforge.net/p/predef/wiki/DataModels/ |