RTI Connext DDS Micro  Version 2.4.10
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Cross Compiling RTI Connext DDS Micro

Cross-compiling the RTI Connext DDS Micro source-code uses the exact same process described in Compiling RTI Connext DDS Micro, but requires a additonal tool-chain file . A tool-chain file is a CMake file that describes the compiler, linker etc. needed to build the source for the target. The RTI Connext DDS Micro source bundle includes a few basic, generic tool-chain files for cross-compilation. In general it is expected that users will provide their own cross-compilation tool-chain files.

To see a list of available targets, use –list

rtime-make --list

By convention, RTI only provides generic tool-chain files that can be used to build for a broad range of targets. For example, the Linux target can be used to build for any Linux architecture as long as it is a self-hosted build. The same is true for Windows and Darwin. The VxWorks tool-chain file uses the WindRiver environment variables to select the compiler.

For example, to build on a Linux machine with Kernel 2.6 and gcc 4.7.3:

rtime-make --target Linux --name i86Linux2.6gcc4.7.3 --config Debug --build

By convention, a specific name such as i86Linux2.6gcc4.4.5 is expected to only build for a specific target architecture. Note however that this cannot be enforced by the script provided by RTI. To create a target specific tool-chain file copy the closest matching file and add it the RTIMEROOT/source/Unix/resource/CMake/architectures or RTIMEROOT/source/windows/resource/CMake/architectures directory.

Once as tool-chain file has been created, or a suitable file has been found, edit it as needed. Then invoke rtime-make specifying the new tool-chain file as the target architecture. For example:

rtime-make --target i86Linux2.6gcc4.4.5 --config Debug --build

RTI Connext DDS Micro Version 2.4.10 Copyright © Fri Jun 30 2017 Real-Time Innovations, Inc