5.3. Compiling the Connext DDS Micro Source for QNX™

5.3.1. Introduction

Connext DDS Micro is supported on the QNX operating system, and this chapter explains how to compile Connext DDS Micro for QNX. Please note this documentation does not include information regarding installation of QNX itself. Please consult your QNX documentation for how to install QNX.

5.3.2. Build environment

Connext DDS Micro is typically cross-compiled for QNX from a Linux host machine. Before Connext DDS Micro can be compiled with the supplied cmake files, it is required to run the QNX setup script located in the QNX installation directory:

source qnxsdp-env.sh

5.3.3. Compiling with rtime-make

Connext DDS Micro includes cmake files for the following QNX architectures:

  • armv7aQNX6.6.0qcc_cpp4.7.3

  • i86QNX6.6qcc_cpp4.7.3

  • armv8QNX7.0.0qcc_gpp5.4.0

  • armv8QNX7.0.4qcc_gpp5.4.0

To compile for any of these architectures, execute the following command:

resource/scripts/rtime-make --target armv8QNX7.0.4qcc_gpp5.4.0 --build -- -j 4

5.3.4. Required QNX kernel configuration