Linking the Application

Command Line Interface

Once you have compiled all your source files, you need to link them to build an executable. This section describes linkage specifics when using a test or runtime analysis feature.

Requirements

In order to compile an instrumented source file, you must check that:

  • A working C, C++ or Ada linker is installed on your system

  • You have compiled every source file, including any instrumented source files, of your application under test

  • If using a Component Testing for C, Ada or C++, or System Testing, you have compiled the test harness.

  • You have compiled the Target Deployment Port library.

Linking

If you are using only runtime analysis feature (Runtime Tracing, Code Coverage, Memory Profiling, Performance Profiling, C++ Contract Check), you just have to add the Target Deployment Port library object to the object files linked together. If you are using a test feature, you also have to add the tester object to the linked files.

You just have to add the Target Deployment Port library object to the object files linked together.

Related Topics

Compiling the TDP Library | Instrumenting and Compiling the Source Code