gcc -s -static

This will be used to statically link .o files into an executable.
