I know .o
are object files, .a
are static libraries and .so
are dynamic libraries? What is their physical significance? When can I use som
.so are shared library files. .a are static library files.
You can statically link to .a libraries and dynamically link and load at runtime .so files, provided you compile and link that way.
.o are object files (they get compiled from *.c files and can be linked to create executables, .a or .so libraries. Read more about it here