Tag: dynamic libraries

How do libraries work? Part 3.

simple-c-code

In previous two parts we’ve dealt with creating dynamic libraries on MacOS. Today we’re moving on to different system – Linux. I was planning to go with Windows, but running a web browser while using Virtualbox on my poor laptop is a nightmare and I think I will need to run my old laptop for […]

How do libraries work? Part 2

simple-c-code

In the previous part we’ve taken a quick look on how to create a dynamic library in MacOS system that would be used as dependent library. While this approach is really straightforward, and has all the advantages of the dynamic loading (smaller binary file size, ability to patch library without the need to recompile entire […]

How do libraries work? Part 1.

simple-c-code

I’ve been always wondering what happens, step by step when I use static or dynamic libraries and how can I actually use them. This very first blog post is about writing and including a dynamic library in MacOS system. Linux and Windows are coming soon. I will be mostly focusing on programming part, however, to […]