DLL Programmer's Guide for TNS/E Systems
Essential DLL Facility Controls
DLL Programmer’s Guide for TNS/E Systems—527252-006
2-22
Execution-Target System Type
SQL/MX Restriction
Public DLLs that support SQL/MX have cppdialect = version2. Therefore, SQL/MX
clients cannot yet use C++ version3.
Execution-Target System Type
The linker sets a system-type attribute in the output loadfile to the following default
values.
If the linker is hosted on a PC, the default is OSS.
If the linker is hosted on OSS, the default is Guardian if the loadfile is being
created in a Guardian subvolume and is OSS if not.
If the linker is hosted on Guardian, the default is Guardian.
How to Set Run-Time Attributes of Your Loadfile on page 5-6 tells how set the system
type to a non-default value.
At a Glance: Linker Mandatory Inputs, and
Defaults
Normal Linker Inputs
To avoid a linker error when linking your loadfile, you must specify the following items
in the linker command stream:
1. The linkfiles to be merged to form your loadfile
2. The archives that contain linkfiles that resolve symbols your loadfile needs.
3. The libraries that resolve symbols your loadfile needs.
Also, you may run a link in a situation where you know certain needed libraries are
missing, and you may not want the linker to issue the consequent diagnostics. In that
case, insert the -allow_missing_libs option.
Linker Default Operation
When executing the options specified in this section, the linker automatically follows its
designed default modes. These are listed below, along with references, in square
brackets, to subsections that tell how to manually affect these behaviors.
1. By default, the linker builds a loadfile.
2. The linker builds a loadfile that is, by default, a program. [Choosing to Create a
Program or a DLL on page 2-3]
3. The linker builds a loadfile that is, by default, localized. [Import Controls and
SearchLists on page 4-5]










