nld and noft Manual

nld Utility
nld and noft Manual520384-003
2-6
How the ETK Command-Line and GUI Interfaces
Differ
How the ETK Command-Line and GUI Interfaces Differ
Command-Line Interface GUI
Software
Requirements
You need only install one of the
Compilers That Can Launch
Windows nld on page 2-5
You must install all of the following:
One of the Compilers That
Can Launch Windows nld on
page 2-5
Microsoft Visual Studio .NET
The ETK package
Where
Instructions
Are
Using the Command-Line Cross
Compilers on Windows on the
compiler’s CD
Online help
Run-Time
Libraries
You must specify them You must specify them
Filename Path
Format
NonStop Kernel format (see the
Guardian User’s Guide or the
Open System Services User’s
Guide)
Windows format (see the
documentation for your Windows
operating system)*
pTAL You must compile and link a
program in separate steps
You can compile and link a
program in one step
* A Windows format filename path that includes a backslash (\) or a space must be enclosed in quotation marks
(as in Example 2-8
on page 2-6)
Example 2-8. Running nld from the Command Prompt
nld test1.o test2.o "c:\Program Files\Compaq ETK-NSE\g06.15\lib\crtlmain.o"
-set systype oss -set highpin on -set highrequester on -set inspect on -set
runnamed on -verbose -L "c:\Program Files\Compaq ETK-NSE\g06.15\lib" -obey
"Program Files\Compaq ETK-NSE\g06.15\lib\libc.obey" -o mystest.exe