Seems there's both libc.a and libc.so, right?
(1) If both exists, which does '-l' prefer?
(2) How do I specify I prefer the .so version against .a version, any gcc/g++ command line option to do this?
Seems there's both libc.a and libc.so, right?
(1) If both exists, which does '-l' prefer?
(2) How do I specify I prefer the .so version against .a version, any gcc/g++ command line option to do this?