What are static libraries in “C” ?

Image for post
Image for post

Some background context..

Image for post
Image for post
header file
Image for post
Image for post
contents of holberton archive

Why are libraries important?

How do you create a static library?

gccall -c *.c
ar -rc libscratch.a *.o
ranlib libscratch.a

Written by

Software Engineer @OneLogin @Cisco @StanfordGSE, CS @SantaClara

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