title: Configuring for a compiler different than the default while running configure
body: <p>I am compiling the glibc library. Before I could do that, I need to run <code>configure</code>. However, for compiling glibc, I need to use the gcc compiler which is not the default compiler on the machine. The <a href="http://www.gnu.org/software/libc/manual/html_node/Configuring-and-compiling.html" rel="noreferrer">manual</a> says the following.</p>
  
  <pre><code>It may also be useful to set the CC and CFLAGS variables in the environment 
  when running configure. CC selects the C compiler that will be used, and CFLAGS 
  sets optimization options for the compiler.
  </code></pre>
  
  <p>Now my problem is that I don't have any administrative rights on that machine. So how can I use a compiler different than the default.</p>