Everything you need to understand dynamic libraries and static libraries

  • Ubuntu 14.04 LTS
  • GCC compiler
  • VM(Virtual Machine) and Vagrant
  • Knowledge Basic handling Linux OS +14.04 LTS
  • Some shell
  • Knowledge basics in C programming language.
  • Knowledge basic Compiler’s steps (but, not mandatory).

Libraries

  • Let’s don’t have that to write the same code over and over or (to do copy-paste).
  • Let’s don’t have compiler again the functions.
  • The already compiled code is tested and reliable to use.
  • shared: say it to the compiler that we want to create a shared library or dynamic library.
    *.o: Apply all file that ends with .o
    -o: tell it to the compiler that we want a name specific for our library.
    libmylibrary.so: it’s the name assigned to our library.

--

--

--

I like to trip, to eat and to study software’s development. I usually self-study in my time free, because I like to learn things news.

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

Recommended from Medium

Building a Discord Bot for ChatOps , Pentesting or Server Automation (Part 5)

How learning to code is building my resilience, one mistake at a time

Java IO Tutorial — Java File Operation

Attending Your First Deve

Building Blocks of every Programming Language

How to convert HEIC to JPG in Python

The Future of WordPress Beyond 2018

Data Providers of Makers Market

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
Victor Zuluaga

Victor Zuluaga

I like to trip, to eat and to study software’s development. I usually self-study in my time free, because I like to learn things news.

More from Medium

Assembly by example: Compute string hash. Part 2: loops

What does set -u mean in a Bash script?

Cross-compiling C & C++ code for PPC64LE on x86_64

Integrating Lua with C: Part 6