I would recommend against this. The requirement for a new version of g ++ will require that when using any of the new 4.4 features, your users will also need a 4.4 runtime library. In doing so, I would just download the source, ./configure --ALLMYOPTS&&make && sudo make install . If you want to make gcc look like the one that comes with Ubuntu, apt-get source gcc and look in debian / rules for your configure flags (they can be used on several lines).
Mighmoos
source share