boost icon indicating copy to clipboard operation
boost copied to clipboard

Add support for QNX 7.1 build

Open chachoi opened this issue 1 year ago • 0 comments

Added QNX build files under the build_qnx folder.

Instructions for building with QNX 7.1:

  1. Setup the boost repo:
git clone https://github.com/chachoi/boost.git && cd boost
git checkout develop
  1. Replace "url = ../" in .gitmodules with "url = https://github.com/boostorg/". This step won't be necessary once this PR is merged.
  2. Init submodules:
git submodule update --init --recursive
  1. Change "QCC" in ./tools/build/src/tools/qcc.jam line 41 to "qcc". I submitted a PR for this change. This step won't be necessary once that PR is merged into https://github.com/boostorg/build.

  2. Source QNX 7.1 environment script:

source <path-to-script>/qnxsdp-env.sh
  1. Build and install
cd build_qnx
make -j 4 install
  1. Optional: build a test:
# Example: make test.<lib name> -j 4
make test.math -j 4

chachoi avatar Apr 05 '23 21:04 chachoi