nld Manual
nld Utility
nld Manual—528272-001
2-5
Directory Structure of Windows nld
Directory Structure of Windows nld
The directory structure of Windows nld is:
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 operating system object files;
therefore, 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 operating system.
For Windows nld, these flags are meaningless:
•
-NS_extent_size on page 3-10
•
-NS_max_extents on page 3-10
Directory Files
bin nld.exe
cmplr nld.dll
lib SRLs for linking
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