On Wed, 7 Aug 2024, 20:37 Kal via Gcc-help, <gcc-help@xxxxxxxxxxx> wrote: > Hi, > > As per my understanding libc is provided by distributions and the gcc is > compiled and linked against libc. > > I have seen different versions of gcc linked with a single version of libc > > How do we check the compatibility of glibc with gcc version? > If it builds, it's compatible. What exactly are you concerned about? Which version of libc should be linked with certain versions of gcc (say > 11.4.0)? > Any version released in the past ten years will work fine. Newer versions of libc might provide additional features that GCC can make use of, but GCC will still work without those. > With regards, > Kal >