Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 864 Bytes

README.md

File metadata and controls

14 lines (9 loc) · 864 Bytes

RPATH TUTORIAL PROJECT

This is an attempt to reproduce a realistic example of a complex system where the programme depends on shared libraries, and these libraries, in turn, depend on other shared libraries. The objective is to understand the correct use of rpaths so that programmes compile and, most importantly, link successfully during the build step. Also, to ensure that the end result can operate and locate all the symbols required at the locations defined in the build.

Structure

  • libfastmatrix - Shared library with no other dependencies.
  • libmymaths - High-level implementation of maths routines, implementing fastmatrix's efficient routines.
  • simpleapp - Programme that links to libmymaths and indirectly uses libfastmatrix's routines.

How To Build

  • ./run.sh .
  • cd in each directory and simply cmake . && make .