i seen many of these post where OP can not compile a test program using gcc. such as this one. http://ubuntuforums.org/showthread.php?t=1003089
maybe put up a sticky as it seems that many times the only thing there is actually wrong is that the build-essential package is missing and people even the more experienced do not know this has to be installed trough trough apt-get. and for some reason people do not find the sticky in the programming talk section (or ask there ) where it is clearly and fully explained how to do this and also well documented with most other languages .
its just a suggestion of mine to do something so there will be lesser chance of people asking the same question again and again and then some of the post get moved to the programming talk section where its answered pretty quick by pointing OP to the sticky in that sub forum.
thanks for reading this :)