I use code::blocks to compile my static library. The output result is a libstatic.a file. Now, how do I link to my library to use functions that were compiled?
(I
To link purely statically, use -static
-static
cc -static yourprogram.c libstatic.a