Supported build environments

The QNX Hypervisor 2.0 must be built in a QNX SDP 7.0 environment, and guests must be built in their environments.

Your development host machine may be a Linux, macOS, or Windows system. For more information about supported hosts, and for instructions on how to get and install the QNX SDP 7.0 for your development host, see the QNX SDP 7.0 Release Notes.

Note:

When you set up your QNX SDP 7.0 environment, you should update your installation with any available QNX SDP 7.0 patches.

QNX SDPs older than SDP 7.0 don't support macOS development hosts, so you won't be able to build a QNX Neutrino OS 6.6 guest on a macOS development host.

If you want to work with another supported QNX guest, or a Linux or Android guest, you must have the appropriate development environment(s) on your development host. You will need to set up these environments and configure your builds accordingly (see Configuring your SDP build environment below, and Configuring the hypervisor build in this chapter).

The table below lists the supported hosts and guests, and the build environments they require:

Component Environment More information
QNX Hypervisor host QNX SDP 7.0 QNX SDP 7.0 documentation
QNX Neutrino 7.0 guest OS QNX SDP 7.0 QNX SDP 7.0 documentation
QNX Neutrino 6.6.0 guest OS QNX SDP 6.6.0 QNX SDP 6.6.0 documentation
Linux guest OS Linux Linux documentation

Configuring your SDP build environment

After you have downloaded QNX SDP 7.0 to your development host and unpacked it, you must source the qnxsdp-env.sh script to set up environment variables your build will use to find the components it needs.

To do this, in your SDP installation's base directory (e.g., ~/qnx700/), source the script. For example:

source qnxsdp-env.sh

If you are not using a Bash shell (e.g., if you are using Z shell), you may need to use a different command to source the script. For example:

export $(bash -c "source qnxsdp-env.sh")

This script sets the basic environment variables used to build a QNX Neutrino OS. You will set other variables when you configure your build.

Note:

If you change environments, for example, from SDP 7.0 to SDP 6.6 to build a QNX Neutrino OS 6.6. guest, make sure that you have all the required environment variables (e.g., QNX_HOST, QNX_TARGET) set for the new environment.

Similarly, if you work with a Linux or Android guest, you will need to set up environments with the toolchains for these OSs.