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

Deploy targets to a NonStop host automatically with project deployment or manually with the
Transfer Tool
Create and maintain archive files
Modify the name of include files from the Guardian format to the PC format using the Fix
Include Tool
Compile NonStop SQL/MP statements embedded in native C and COBOL source code
Compile NonStop SQL/MX statements embedded in native C/C++ and COBOL source code
Enter ADD, MODIFY, SET, and DELETE statements into a TACL DEFINE file
Configure external tools, such as Visual Inspect, to launch from the integrated development
environment
Integrate with source control tool
Access online documentation for ETK with the Visual Studio.NET documentation, or viewed
singly as a preferred collection.
Hardware and Software Requirements
ETK is supported on the Windows NT, Windows 2000, and Windows XP operating systems.
For the latest PC and NonStop server hardware and software requirements, review ETK online
help.
Online Help
Online help is the only user documentation for ETK. The online help is composed of these
components:
Context-sensitive help for GUI objects
Help topics, such as “Setting Compiler Options
Glossary of terms
Tutorial introducing the application
An HTML help file named “Using Command-Line Cross Compilers on Windows
Usage Guidelines
The native C/C++ cross compiler produces object code that runs on TNS/R or TNS/E systems in
either the Guardian or the OSS environment. The H-series and J-series cross compilers package
has the ability to produce TNS/R (G-series) or TNS/E (H-series and J-series) object files.
Source code that is compilable by the native C and C++ compilers running on TNS/R or TNS/E
systems is also compilable by the native PC cross compiler, except for these differences:
The default target platform for the PC cross compiler depends on the copy of the compiler
used. For compilers installed in G-series RVU folders, the default is TNS/R servers. This compiler
will not accept the -Wtarget option.
For compilers installed in H-series RVU folders, the default is TNS/E servers
(-Wtarget=tns/e). To produce programs that run on TNS/R servers, specify the
-Wtarget=tns/r flag to the c89 utility.
The default target environment for the PC cross compiler is the OSS environment. To produce
programs that run in the Guardian environment, specify the -Wsystype=guardian flag of
the c89 utility.
The native C PC cross compiler supports embedded SQL. When you enable SQL, HP C passes
the SQL options you choose to cfe so that embedded SQL statements are compilable.
Additional options are required on the PC as well.
ETK 313