How to create Static libraries in C

header_file.h
include header file at the top of your file.c
create your object code
command ar to create our library
Index all your object code in the lib
the parameter -t will show all the function object code file
nm command that show indexed files

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Thibaut Bernard

Thibaut Bernard

Software engineer student at HolbertonSchool 👉https://github.com/ThibautBernard 👉https://twitter.com/__ThibautDev