Application Building Guide
This chapter provides detailed information for building applications in the
Solaris operating environment. In the script files, commands that begin
with db2 are Command Line Processor (CLP) commands. Refer to
the Command Reference if you need more information about CLP commands.
For the latest DB2 application development updates for the Solaris
operating environment, visit the Web page at:
http://www.ibm.com/software/data/db2/udb/ad
Notes:
- The -mt multi-threaded option is used in the link steps of the
DB2 build files and makefiles due to the way threads are implemented in the
Solaris operating environment. This comes with a slight performance
cost. If optimum performance is a consideration, you could try to link
your applications without this option, and with the non-threaded libdb2.so
library. However, if the -mt switch is not used, the application
may see an error such as the following when the application is run:
libc internal error: _rmutex_unlock: rmutex not held
Or, the application may hang and not give any error
message.
- To build 64-bit applications with the build files documented in this
chapter, uncomment the indicated command.
[ Top of Page | Previous Page | Next Page ]