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

The TNS/E Native Development Environment
H-Series Application Migration Guide429855-006
2-19
Setting Up a Cross-Platform Development
Environment on the PC
You have now created a solution containing one project. The solution and projects
will appear similar to the example in Figure 2-2.
You can now compile and link the program by choosing the BUILD command, then
deploy the executable program or library on the NonStop server by choosing the
DEPLOY command.
You can easily set up a solution to cross-compile the application for both the
TNS/R and TNS/E platforms. Following steps similar to the preceding steps, you
can define a new project within the existing solution, copy the source file names
into the new project, and set the project properties to specify the desired platform.
(Note that only the source file names are copied, and not the actual files. The file
names point to the same physical files). You now have two identical projects, with
one project having TNS/R as the target platform and the other having TNS/E as the
target platform. The solution appears similar to Figure 2-3 on page 2-20.
Figure 2-1. Project Properties Screen
Figure 2-2. ETK Solution With One Project
(1 project)