nld and noft Manual
nld Utility
nld and noft Manual—520384-003
2-5
Compilers That Can Launch Windows nld
Compilers That Can Launch Windows nld
Windows nld is a component of these Windows-based cross-compilers, which can
launch it automatically after compilation:
When a compiler launches Windows nld, the compiler driver selects the correct run-
time libraries.
The command in Example 2-7 on page 2-5 runs the native COBOL85 compiler,
nmcobol, compiling the source files text3.cob and text4.cob, and then launches
Windows nld, producing the executable file pcoss.exe for the OSS environment.
How Windows nld Differs from nld
Windows nld object files are compatible with NonStop Kernel object files; that is, you
can build object files on either of these platforms and then link them on the other.
Linking object files on Windows nld is usually much faster than linking them on the
NonStop Kernel.
For Windows nld, the following flags are meaningless:
•
-NS_extent_size on page 3-10
•
-NS_max_extents on page 3-10
Note. On the PC, you must use -l or -lib on page 3-7 on the command line to specify the
location for nld to look for SRLs and archives; there are no standard library locations.
Compiler Compiler Driver DLL
Native C/C++ c89.dll
Native COBOL coboldvr.dll
pTAL ptaldvr.dll
Example 2-7. Running nmcobol and Launching Windows nld
nmcobol text3.cob text4.cob -Wsystype=oss -o pcoss.exe