NextGen TotalView for HPC User Guide : PART IV Appendices : Appendix C Platform-Specific Topics : Shared Libraries : Linking with the dbfork Library : Linux or Mac OS X
Linux or Mac OS X
Add the following argument or command-line option to the command that you use to link your programs:
/usr/totalview/platform/lib/libdbfork_64.a
-L/usr/totalview/platform/lib -ldbfork_64
where platform is one of the following: darwin-x86, linux-x86-64, or linux-arm64.
Here is an example:
 
cc -o program program.c -L/usr/totalview/linux-x86-64/lib -ldbfork_64