H-Series Application Migration Guide (H06.03+)

The TNS/E Native Development Environment
H-Series Application Migration Guide429855-006
2-5
Cross-Compiling on the PC
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 Enterprise Toolkit - NonStop Edition (ETK)
The HP Enterprise Toolkit - NonStop Edition (ETK) is an integrated development
environment that enables you to build NonStop applications on a PC running the
Windows operating system, for execution on a NonStop server. ETK is an extension
package to Visual Studio.NET, and provides a graphical user interface in which you
use menus and dialog boxes to select tools and options.
ETK was introduced with the G06.20 RVU and coexists with the Tandem Development
Suite (TDS) on G06.20 and later G-series systems. On H-series systems, support for
ETK continues, but TDS is not supported.
ETK supports the TNS/E and TNS/R native C/C++, pTAL, and COBOL cross compilers
and related tools. The cross compilers can compile programs for the Guardian and
OSS environments. TNS compilers and tools are not available on the PC.
Using ETK, you can easily set up a development environment in which you can
develop applications targeted for either the TNS/R native or TNS/E native environment.
See Setting Up a Cross-Platform Development Environment on the PC on page 2-17
for examples.
ETK Migration Tool
If you are still using TDS on a G-series system, you must convert to ETK when
migrating to an H-series system. A migration tool is available to help you convert TDS
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
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