Related to this topic i recommend the reading of 'diablo'. A static binary optimizer based on gcc. Its used mainly for kernel, but it basically rocks on many other situations where a static binary is possible.
----- Original message ----- > I thought someone could find this link interesting: > > > http://blog.mozilla.com/tglek/2010/04/12/squeezing-every-last-bit-of-performance-out-of-the-linux-toolchain/ > > (I just flew over the blog entry which is why I couldn't figure out > whether the resulting binary contains the Gecko libs or only the Firefox > libs.) > > Jonas >