C++11 wrapper for Linux / OS X / Windows / BSD dynamic libraries ( .so .dylib .dll ).
For Windows please go to Windows.md
GCC NOTE: gcc before 4.8.2 had a bug that could cause dynamicLinker to crash! Please use newer versions of GCC.
You need compiler with full C++11 support.
make ( or
make CXX=g++ CC=gcc if you don't have clang compiler )
sudo make install - if you want to install libdynamicLinker.a to /usr/local/lib/
You can also run
make test ( or
make test CXX=g++ CC=gcc ) after building, to check if dynamicLinker will be working for you. It will run simple test code ( which will also catch some exceptions ), and if make doesn't error - it's OK.
There is also
make clean which will remove all produced binaries that are in this directory. ( It won't remove /usr/local/lib/libdynamicLinker.a! )
You can check out test.cpp for example usage.