C/C++ Programmer's Guide (G06.27+, H06.03+)

Table Of Contents
Compiling and Linking TNS/R Native C and C++
Programs
HP C/C++ Programmer’s Guide for NonStop Systems429301-010
16-2
Selecting a Development Platform
For information about compiling and binding native C++ programs using the Windows
PC environment, see the online help for the Enterprise Tool Kit. In this manual, the
Enterprise Tool Kit is introduced in Section 18, Using ETK and Native C/C++ Cross
Compiler on the PC.
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 time is lesser in the PC environment.
Table 16-1 describes the capabilities of each development platform.
These restrictions apply to developing Guardian programs with OSS tools:
You cannot use the RUNNABLE and SEARCH pragmas. However, you can direct the
c89 utility to bind implicitly after a compilation. You can also specify library files to
be searched using the c89 -L flag.
Table 16-1. Development Platform Capabilities
Capability
System with
Guardian
environment
System with
Guardian and
OSS
environments
ETK 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