at the time to compile, what is the difference between “-lib” and “ar qv”?? I can create a library with both commands but if I’ve choose one, what are you suggest me??
ar’s the archive command and -lib is an incorrectly specified flag (the real way to do that would be -llib if you wanted to link in liblib.a / liblib.so).
How are you trying to create a library?