Debugging Memory Problems with MemoryScape : Chapter 4 Creating Programs for Memory Debugging : Linking with the dbfork Library : dbfork and SunOS 5 SPARC

dbfork and SunOS 5 SPARC
Add one of the following command line arguments or options to the command that you use to link your programs:
*
*
For example:
cc –o program program.c \
–L/opt/totalview/sun5/lib –ldbfork
As an alternative, you can set the LD_LIBRARY_PATH environment variable and omit the –L option on the command line:
setenv LD_LIBRARY_PATH /opt/totalview/sun5/lib

Rogue Wave Software, Inc.
Voice: (303) 473-9118
rwonlinedocs@roguewave.com