Simply download binutils and gcc and the other prerequisites sources as tarball. Unpack and compile to every directory you want. Compile takes maybe 10 minutes and you are finished. I have also a very! old suse linux with a wide variant of compilers in parallel.
Edit: add link to gcc wiki
http://gcc.gnu.org/wiki/InstallingGCC
BTW and not a real answer to the OP question but a fast solution:
What do you think about downloading fedora 20, burn a CD or use a big enough usb stick, boot from CD or usb stick and mount the volume on your laptop and have fun. In fedora 20 the gcc 4.8.2 is in. Should be an alternative from some quit tasks.
If you only want very small examples to run, you also can use a only compiler: http://www.compileonline.com/compile_cpp11_online.php for example. A lot more can be find by G* and others.