1、这个值现在已经是6,曾经是1……原因不明(因为设定就是这样的——腾原文太)
2、这个值以后也将是6,因为这个值已经被废弃了,替代的是__GLIBC__和__GLIBC_MINOR__
3、这个值在features.h中定义:
/* This macro indicates that the installed library is the GNU C Library.
For historic reasons the value now is 6 and this will stay from now
on. The use of this variable is deprecated. Use __GLIBC__ and
__GLIBC_MINOR__ now (see below) when you want to test for a specific
GNU C library version and use the values in <gnu/lib-names.h> to get
the sonames of the shared libraries. */
#undef __GNU_LIBRARY__
#define __GNU_LIBRARY__ 6
/* Major and minor version number of the GNU C library package. Use
these macros to test for features in specific releases. */
#define __GLIBC__ 2
#define __GLIBC_MINOR__ 28