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 the following arguments:cc –o program program.c \
–L/usr/totalview/rs6000/lib/ –ldbfork \
–bkeepfile:/usr/totalview/rs6000/lib/libdbfork.a
cc –o program program.c \
–L/usr/totalview/rs6000/lib –ldbfork \
–bkeepfile:/usr/totalview/rs6000/lib/libdbfork.aWhen 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 \
Rogue Wave Software, Inc. |
Voice: (303) 473-9118 |
rwonlinedocs@roguewave.com |