In Linux with gcc and glibc (version 2.24) is there a way to know which version of the C library was linked with by the compiler?
I'm looking for a way to have an output similar to this one:
This program was compiled using GCC and GNU glibc version 2.24
PS: It is very probable that this question is a duplicate, I just didn't really know what to exactly search for, it was easier to put the question in words rather that in search-engine keywords.