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
I had to set the library path in my makefile. For this case you could use:
gcc -o myapp main.c -L. -lstatic