How do I create a static library?

Step 1: Compile your Library code (.c files) into an object code Step 2: Create a Static Library from all “.o” files using command ar This tells ar to create an archive (option c) and to insert the objects, replacing older files where needed (option r)
For More Information Please Refer:


You May Also Like to Read: