IBM AIX on RS/6000 Systems

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

  • /usr/totalview/lib/libdbfork.a \
                -bkeepfile:/usr/totalview/lib/libdbfork.a
  • -L/usr/totalview/lib \
                -ldbfork -bkeepfile:/usr/totalview/lib/libdbfork.a

For example:

cc -o program program.c \
            -L/usr/totalview/lib -ldbfork \
            -bkeepfile:/usr/totalview/lib/libdbfork.a

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

  • /usr/totalview/lib/libdbfork_64.a \
                -bkeepfile:/usr/totalview/lib/libdbfork.a
  • -L/usr/totalview/lib -ldbfork_64 \
                -bkeepfile:/usr/totalview/lib/libdbfork.a

For example:

cc -o program program.c \
            -L/usr/totalview/lib -ldbfork \
            -bkeepfile:/usr/totalview/lib/libdbfork.a

When you use gcc or g++, use the -Wl,-bkeepfile option instead of using the -bkeepfile option, which will pass the same option to the binder. For example:

gcc -o program program.c -L/usr/totalview/lib -ldbfork \
            -Wl,-bkeepfile:/usr/totalview/lib/libdbfork.a
 
 
 
 
support@etnus.com
Copyright © 2001, Etnus, LLC. All rights reserved.
Version 5.0