Tuxedo 8.0 Supplement for H-Series RVUs

Chapter 3. Dynamic Link Libraries
Prev
Next
Chapter 3. Dynamic Link Libraries
Use of the _RLD_LIB_PATH Environment Variable
Floating-Point Considerations
Simpapp Sample Application
Bankapp Sample Application
Use of the _RLD_LIB_PATH Environment Variable
On TNS/E systems, NonStop Tuxedo uses dynamic link libraries (DLLs) instead of native user
libraries with exported data (sometimes called the NonStop Tuxedo SRLs), that are used on TNS/R
systems.
On TNS/E systems, when a process starts (that is, the executable is loaded for execution by rld, the
run-time loader), it can use many DLLs. The location of the DLLs is determined by rules described in
the DLL Programmer's Guide for TNS/E Systems. For example, the _RLD_LIB_PATH environment
variable can contain a list of OSS paths (directories), which the executable uses when searching for the
DLLs. All HP-delivered NonStop Tuxedo executables are built with the eld option "-RLD_L
/tuxedo8.0/lib", so that that directory is always searched for DLLs. NonStop Tuxedo DLLs are
installed into $TUXDIR/lib. So, when NonStop Tuxedo is installed in the default location,
/tuxedo8.0, you do not need to export _RLD_LIB_PATH to run HP-delivered NonStop Tuxedo
executables.
However, if NonStop Tuxedo is installed in a non-standard location, that is, it is not installed in
/tuxedo8.0, _RLD_LIB_PATH must be used. For example:
export TUXDIR=/tux_nonstd
export _RLD_LIB_PATH=$TUXDIR/lib
Floating-Point Considerations
This release of NonStop Tuxedo uses Tandem floating-point internally, as was done on TNS/R. This
allows a mixture of TNS/E systems and TNS/R systems within a single NonStop Tuxedo application
without added complexity caused by the different native floating-point modes of the two system types.
Since IEEE floating-point is the native mode on TNS/E systems, NonStop Tuxedo buildclient and
buildserver utilities add the -WTandem_float option when they run the c89 or ecobol
compilers.
You can create object files outside of buildclient and buildserver, then link them into
NonStop Tuxedo executables with those utilities. In this situation, the separate object files should also
be compiled with -WTandem_float. The sample applications simpapp and bankapp work this