The differences between static and dynamic libraries

  • static libraries
  • dynamic libraries

create static library :

create objects file of the function .o

create the static library .a

Link Statically:

create and use dynamic library :

create objects file of the function

create shared object

Linking with a shared library

define the path of the objects to the current directory

--

--

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