Most applications' build systems are not well-tested against static linking, so you will often run into situations where you need to tweak them a little bit. Each application's build system is ...
Besides very simple use cases, compiling your application probably takes more than just running a single gcc command. To support more advanced cases, you should write a script in which you call the ...