Skip to content

thomasarvanitidis/rpath_tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 .

About

Simple project that investigates the use of rpath.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published