You can run a command such as CC=gcc4.5 make
to use gcc4.5 as your compiler.
Is there such a command for changing where you are getting libc stuff from? Such as LIBC=${HOME}/glibc-2.16
or something?
The version I have installed in /usr/ is 2.13, but I need to use 2.14 to compile something, so I've got glibc-2.14 all compiled and ready to go, but I'm not sure how to use it instead of the default one.