nld and noft Manual
nld Utility
nld and noft Manual—520384-003
2-4
Running Windows nld on the PC
Example 2-6 uses the C object files test1.o and test2.o to build a program named
prog. Because the program is a C program, the crtlmain.o library object file is
required. The obey option directs nld to link all of the required SRLs in the program.
Running Windows nld on the PC
Using ETK, you can run Windows nld on:
•
Windows NT 4.0
•
Windows 2000
•
Windows XP
ETK has both a command-line interface and a graphical user interface (GUI).
Subsections:
•
Components of Windows nld on page 2-4
•
Directory Structure of Windows nld on page 2-4
•
Compilers That Can Launch Windows nld on page 2-5
•
How Windows nld Differs from nld on page 2-5
•
How the ETK Command-Line and GUI Interfaces Differ on page 2-6
•
Command-Line Interface Linking Options on page 2-7
Components of Windows nld
The components of Windows nld are:
Directory Structure of Windows nld
The directory structure of Windows nld is:
Example 2-6. Creating an Executable C Program (OSS)
nld /user/lib/crtlmain.o test1.o test2.o \
-obey /usr/lib/libc.obey -o prog
Component Description
nld.dll A Windows dynamic-link library (DLL) that implements nld functionality
nld.exe A Windows executable file that provides a direct command line interface
for nld functionality
Directory Files
bin nld.exe
cmplr nld.dll
lib SRLs for linking