Reference Guide New Features Installation, Transformations, Release Notes

Linking with the dbfork Library

If your program uses the fork() and execve() system calls, and you want to debug the child processes, you need to link programs with the dbfork library.

Linking with dbfork and HP Tru64 UNIX

Add one of the following command-line options to the command that you use to link your programs:

  • /opt/totalview/alpha/lib/libdbfork.a
  • -L/opt/totalview/alpha/lib -ldbfork

For example:

cc -o program program.c -L/opt/totalview/alpha/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/alpha/lib 
 
 
 
Select a section:
 
documentation@etnus.com
Copyright © 2003, Etnus, Inc. All rights reserved.
Version 6.2