Static Libraries… What are we talking about??

HOW CAN WE CREATE A STATIC LIBRARY?

ar -rc name_of_libary.a our_function.o

HOW TO USE THEM?

gcc my_program.c -L. -lname_of_library -o my_program

--

--

--

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Discord Moderator Volunteer

Deploying Web Server on AWS through ANSIBLE!!

Why InfraCode Is Using Jam

The Right Approach to learn Programming- and how I figured it out the hard way

Dapplooker is Celebrated as the First Graduate from the SubQuery Grants Programme

IPinfo launches Host.io: Q&A with Ben Dowling

DRAGON EVOLUTION — FEBRUARY MONTHLY UPDATE

How to Connect to Github with Multiple Accounts and SSH Keys

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
Chloé Dumit

Chloé Dumit

More from Medium

Homage to the Elevator Ride

Elevator Ride

CS373 Spring 2022: Jay Park — Week 10

Cryptoeuphoria and Art Market #1

Is there a benefit to devaluing the Indian Rupee (₹)?