C/C++ Programmer's Guide (G06.25+)
Compiling and Linking TNS/E Native C and C++
Programs
HP C/C++ Programmer’s Guide for NonStop Systems—429301-008
17-2
Selecting a Development Platform
(ETK). In this guide, the Enterprise Tool Kit is introduced in Section 18, Using the HP
Enterprise Toolkit (ETK) and Native C/C++ Cross Compiler on the PC.
The Guardian CPPINIT* and OSS or PC cppinit* files used to create, replace, or
delete C++ operators for TNS/R programs are not needed for TNS/E programs. The
Guardian LIBCOBEY and OSS libc.obey files are not used for TNS/E program
linking during compilation.
Selecting a Development Platform
A development platform consists of the hardware system and software environment
available to compile, link, and run a program.
You can develop OSS programs regardless of whether the OSS environment is
available on the system. However, you cannot run and test OSS programs on a system
without the OSS environment.
It is easier to develop a program in the environment in which it runs, but you can
develop a program in one environment that runs in another environment, with a few
restrictions. However, compile times are much faster in the PC environment.
Table 17-1, Development Platform Capabilities, describes the capabilities of each
development platform.
Table 17-1. Development Platform Capabilities
Capability
System With
Guardian
Environment
System With
Guardian and
OSS
Environments
Enterprise
Toolkit on
Windows PC
Use Guardian development tools for
Guardian programs?
Yes Yes No
Use Guardian development tools for
OSS programs?
Yes Yes No
Use OSS development tools for
Guardian programs?
No Yes No
Use OSS development tools for OSS
programs?
No Yes No
Run Guardian programs? Yes Yes No
Run OSS programs? No Yes No
Compile programs with embedded
SQL?
Yes Yes Yes
Use PC-based development tools for
Guardian and OSS programs?
No No Yes