Skip to content

MasakatsuFunaki/qnx_hello_world

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QNX Hello World (Bazel)

Cross-compiled C++ hello world for QNX 8.0 using Bazel.

What's Inside

  • 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

Quick Start

# 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_qemu

License

This project is licensed under Apache License Version 2.0, January 2004

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors