"man" is the command on the command-line for the online manual pages. So I was telling you to read the man-pages on "make" "gcc" and "any other related commands or files you can think of".
I was also telling you to http://www.google.com/linux
for anything you could think of like "static compile of packages".
Another great source for stuff is the Linux Self Help website.
Since so many distributions offer automated updates, and I don't have any non-standard packages at present--I no longer use static compiled packages. It turned out that many of the things I did for security in the past would leave me vulnerable today. There are too many kids reading all of the source code looking for anything they can "crack".
I have used up2date on redhat and replaced a lot of the stuff on RH 9.
With static applications up2date and its equivalents don't work. They seem to be set up for the default type of installs--which use shared objects.