What factors determine which version of glibc is required for binary built with g++?

  c++, g++, glibc

I manage a complex C++ project

I am getting field reports that a binary built on one system will not run on another
system because of glibc version mismatch.

I just want to verify: is the version of glibc required by the binary completely determined by which version of g++ is used to compile it?

In this case, the binary is built with g++ 11, and run on another system that doesn’t have g++ 11 installed.

Source: Windows Questions C++