H-Series Application Migration Guide (H06.07+, J06.03+)
The TNS/E Native Development Environment
H-Series Application Migration Guide—429855-008
2-5
Cross-Compiling on the PC
Cross-Compiling on the PC
You can compile and link C, C++, pTAL, and COBOL programs on a PC running the
Windows operating system, either within NSDEE or ETK (see the documentation for
the development environment you are using) or from the Windows command prompt.
From the Windows Command Prompt
From the PC, you can target compilation for either the TNS/R native or TNS/E native
environment, then copy the object files to the appropriate NonStop system and execute
them in the Guardian and OSS environments. Table 2-2 shows the PC-based cross
compilers.
Using the NonStop Development Environment for Eclipse
(NSDEE)
The HP NonStop Development Environment for Eclipse (NSDEE) is a Windows-hosted
integrated development environment for NonStop applications. NSDEE supports
building NonStop applications locally using Windows-hosted cross compilers and tools,
or remotely using compilers and tools on a NonStop server. NSDEE also provides
facilities for transferring source files and binaries to and from NonStop systems as well
as facilities for editing remote source files locally.
NSDEE Core with Debugging also includes a separately installed integrated debugger
that you can use to debug TNS/E processes.
For more information about NSDEE, including RVU support, software requirements,
and hardware requirements, see the documentation for NSDEE that is integrated with
the software. After you install the software, you can access the documentation from the
Eclipse Workbench help menu:
1. To access the Workbench help menu, select Help>Help Contents.
Table 2-2. PC-Based Development Tools
Tool Target Platform TNS/R Target Platform TNS/E
Native C or C++
compiler
c89.exe -Wtarget=tns/r
(default)
c89.exe -Wtarget=tns/e or
c99.exe -Wtarget=tns/e
Native COBOL
compiler
nmcobol.exe ecobol.exe
pTAL compiler ptal.exe eptal.exe
Native non-PIC
linker
nld.exe not supported
Native PIC linker ld.exe eld.exe
Native object file
tool
noft.exe enoft.exe










