What’s the difference between object file and static library(archive file)?
The static library is a collection of one or more object files, with an index to allow rapid searching. There are some minor differences in how the compiler deals with them. With an object file you link like this: gcc f1.o f2.o -o myexe with libraries you can also do that: gcc f1.o libf2.a -o … Read more