Question: A library routine can be delivered for both static linking (*.a) or dynamic linking (*.so) In the latter case, we call it a shared

A library routine can be delivered for both static linking (*.a) or dynamic linking (*.so) In the latter

A library routine can be delivered for both static linking (*.a) or dynamic linking (*.so) In the latter case, we call it a shared library. How can we tell cc to link the library statically to a program?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

To instruct the cc C compiler to link a library statically to a program you need to specify the libr... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Operating System Questions!