When we compile C source code, compiler create object file and handover object file to the linker. Linker having many task to do out of which one is, either is copy all code related to header file into the final executable file or make some arrangement so that when even required it can take from file.
The first one is called as static library where source of required function is copied from library to the executable file. The problem with this approach is it keep coping function code from library to executable files every time we compile. Which is defiantly increasing unnecessary size.
We are having another approach where we make library as share library. In this case during compilation we just include the path of shared library and method through which we can include shared library. In this approach contains of library will loaded during run time, it saves unnecessary loading of similar contains again and again.
We at professional training institute highly focusing on practical training of embedded system, we are the best embedded system training in bangalore.
we also provide training in Linux Device Driver with complete hands on and practical. you can explore more about us on www.ptinstitute.in.