On 06/10/2015 14:26, Matthias Apitz wrote: > /usr/local/gcc-492/bin/gcc -o work work.C -L/usr/local/gcc-492/lib -lstdc++ (I'm just a random user, take my suggestions with a grain of salt.) Does it change anything if you invoke g++ instead of gcc? It seems odd that you would need to specify -lstdc++ or -L/usr/local/gcc-492/lib Regards.