title: Check glibc version for a particular gcc compiler
body: <p>I have two gcc compilers installed on my system, one is <code>gcc 4.1.2</code> (default) and the other is <code>gcc 4.4.4</code>. How can I check the libc version used by <code>gcc 4.4.4</code>, because <code>/lib/libc.so.6</code> shows the glibc used by <code>gcc 4.1.2</code>, since it is the default compiler.</p>