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

Table Of Contents
Using ETK and Native C/C++ Cross Compiler on the
PC
HP C/C++ Programmer’s Guide for NonStop Systems429301-010
18-4
TDS
files from the server to the PC using file transfer protocol (FTP).
When your source files are on the PC, they can be distributed anywhere in the PC
namespace. Likewise, any files that are output from the PC cross compilers can be
distributed anywhere in the PC namespace.
PC source files with #include path names use the backslash (\) separator.
These path names are correctly interpreted by the PC cross compilers. However,
PC path names cannot be used by the native compilers that run on NonStop
servers.
The PC cross compiler interprets the slash character (\) in #include path names
as a backslash (\). Therefore, OSS source files with directory names can map
automatically to the PC namespace.
The PC cross compiler handles source-file name suffixes in the same manner as
c89. Source-file names must be identified with the .suffix format just as are
OSS file names.
Many products have shared run-time libraries (SRLs) or dynamic-link libraries
(DLLs) for linking on the PC. If a product does not have an SRL or DLL on the PC,
perform final linking on a NonStop server that does have the appropriate library file.
TDS
TDS is an integrated development environment that enables you to use a PC to build
applications that will run on HP NonStop NonStop S-series systems. The TNS/R native
C and C++ PC cross compiler has been integrated with related tools into a
development environment that targets both Guardian and OSS.
TDS provides an easy-to-use graphical user interface (GUI) that uses the Borland
Integrated Development Environment. TDS has commands and options that enable
you to compile and link your applications on the PC and then run them on a NonStop
G-series platform. After compiling and linking, you can select the Tandem FTP tool to
send your object file directly to the HP NonStop platform and change it to the correct
Guardian executable file code.
Release 2 of TDS supports Borland C++ version 5.02. The HP extensions to the
Borland development environment provide a choice of compilers, editors, and
debuggers, as listed in the following paragraphs.
TDS is an independent product delivered on a separate compact disc and is not
available on the HP SUT.
Hardware and Software Requirements
The Tandem Development System (TDS) is supported on the Windows 98,
Windows NT, and Windows 2000 operating systems.
For the latest PC and NonStop server hardware and software requirements, review the
online help.