Supported build environments

The QNX Hypervisor host must be built in the appropriate QNX SDP environment, and guests must be built in their own environments.

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

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

If you add vdevs or otherwise modify your hypervisor system, you must build and configure a new bootable image that includes your changes. The table below lists the build environments required for the hypervisor host and its guests:
Note:

For readability, we use a + as a short form for or more recent; for example, QNX SDP 8.0+ means QNX SDP 8.0 or more recent.

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

Component Environment More information
QNX Hypervisor 8.0 host QNX SDP 8.0+ QNX SDP 8.0 documentation — this documentation explains the QNX SDP toolkit for developing embedded systems that run the QNX OS.
QNX OS 8.0 guest QNX SDP 8.0+ QNX SDP 8.0 documentation
Linux guest Linux Linux documentation
Android guest Android Android documentation

Configuring your QNX build environment

After you have installed QNX SDP, any required updates, and QNX Hypervisor onto your development host, you must run the qnxsdp-env.sh script (for Linux) or the qnxsdp-env.bat batch file (for Windows) to set up your build environment so you can build QNX OS guests or the hypervisor host.

To do this on Linux, in your QNX SDP installation's base directory, source the script. For example, in a Bash shell:
cd ~/qnx800/
source qnxsdp-env.sh
If you are using another shell (e.g., Z shell), you may need to use a different command to source the script. For example:
export $(bash -c "source qnxsdp-env.sh")
To do this on Windows, open a command prompt by running cmd.exe, navigate to the installation's base directory and run the batch file. For example:
C:\Users\your_name\qnx800>qnxsdp-env.bat

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

Note:
If you work with a Linux or Android guest, you need to set up the environment with the toolchains for these OSs.
Page updated: