Cross-compiled C++ hello world for QNX 8.0 using Bazel.
- src/ — Demo binary, cross-compiled for QNX x86_64 and aarch64
- tests/ — C++ test suite: modern C++, STL, threading, libraries, build configs, QNX APIs
- qemu/ — Builds a QNX QEMU disk image with binaries baked in, launches the VM
- qemu/ technical — mkqnximage, IFS/VMDK images, QEMU virtual devices, KVM acceleration
- toolchain/ — Bazel cross-compilation toolchain for QNX SDP 8.0
# Build
bazel build //... --config=qnx_x86_64
# Build on QNX (QEMU)
bazel build //qemu:run_qemu --config=qnx_x86_64
bazel build //qemu:run_qemu --config=qnx_aarch64
# Run on QNX (QEMU)
bazel run //qemu:run_qemu --config=qnx_x86_64
bazel run //qemu:run_qemu --config=qnx_aarch64
#Stop and clean a QEMU instance
bazel run //qemu:clean_qemu
bazel run //qemu:stop_qemuThis project is licensed under Apache License Version 2.0, January 2004