HP-UX

Add either the -ldbfork or -ldbfork_64 argument to the command that you use to link your programs. If you are compiling 32-bit code, use one of the following arguments:

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

For example:

cc -n32 -o program program.c -L/opt/totalview/lib -ldbfork

If you are compiling 64-bit code, use the following arguments:

  • /opt/totalview/lib/libdbfork_64.a
  • -L/opt/totalview/lib -ldbfork_64

For example:

cc -64 -o program program.c -L/opt/totalview/lib -ldbfork_64

As an alternative, you can set the LD_LIBRARY_PATH environment variable and omit the -L command-line option. For example:

setenv LD_LIBRARY_PATH /opt/totalview/lib 
 
 
 
 
support@etnus.com
Copyright © 2001, Etnus, LLC. All rights reserved.
Version 5.0