# Experimental port to get binutils working natively on the QNX8 (x86_64 and aarch64) To build: $ source ~/qnx800/qnxsdp-env.sh $ mkdir ~/qnx800/SRC $ cd ~/qnx800/SRC $ git clone https://github.com/qnx-ports/build-files $ cd build-files/ports $ wget https://astr0baby.online/QNX/8.0/build_files/ports/binutils.tgz $ tar -zxvf binutils.tgz $ rm binutils.tgz $ cd ~/qnx800/SRC $ wget https://astr0baby.online/QNX/8.0/SRC/binutils-2.45.tgz $ tar -zxvf binutils-2.45.tgz $ rm binutils-2.45.tgz $ QNX_PROJECT_ROOT="$(pwd)/binutils-2.45" make -C build-files/ports/binutils install Note: during the x86_64 build the build complains about the missing stamp directory in ldscripts so I have just created it and re-ran the build process again $ mkdir ~/qnx800/target/qnx/x86_64//data/usr/local/x86_64-\*-nto/lib/ldscripts/stamp $ QNX_PROJECT_ROOT="$(pwd)/binutils-2.45" make -C build-files/ports/binutils install The binaries will then install to $ ~/qnx800/target/qnx/aarch64le/data $ ~/qnx800/target/qnx/x86_64/data Observations: There is no support yet for ld in current binutils-2.45 for QNX x86_64 as there is a missing definition in the following files: ld/configure.tgt ld/emulparams (no x86_64nto.sh) bfd/config.bfd I have patched the above to add support for QNX x86_64 but Im sure I dont have the correct x86_64nto.sh for valid emulparams to generate proper x86_64 QNX8 emulparams for the binary format. The ld linker therefore does not work on the x86_64 QNX8 , but compiles and runs. All other binutil tools run well. 3144 -rwxr-xr-x 1 qnxuser root 1609400 2025-08-11 00:02 strings 3136 -rwxr-xr-x 1 qnxuser root 1605384 2025-08-11 00:02 size 2466 -rwxr-xr-x 2 qnxuser root 1262776 2025-08-11 00:02 readelf 3184 -rwxr-xr-x 2 qnxuser root 1629880 2025-08-11 00:02 ranlib 6348 -rwxr-xr-x 2 qnxuser root 3249720 2025-08-11 00:02 objdump 3452 -rwxr-xr-x 2 qnxuser root 1767584 2025-08-11 00:02 objcopy 92 -rwxr-xr-x 1 qnxuser root 47408 2025-08-11 00:02 elfedit 3208 -rwxr-xr-x 2 qnxuser root 1642648 2025-08-11 00:02 ar 3136 -rwxr-xr-x 1 qnxuser root 1605256 2025-08-11 00:02 addr2line 3386 -rwxr-xr-x 2 qnxuser root 1734096 2025-08-11 00:02 strip 3182 -rwxr-xr-x 2 qnxuser root 1629224 2025-08-11 00:02 nm 3126 -rwxr-xr-x 1 qnxuser root 1600048 2025-08-11 00:02 c++filt 4850 -rwxr-xr-x 2 qnxuser root 2483096 2025-08-11 00:02 as 3292 -rwxr-xr-x 1 qnxuser root 1685520 2025-08-11 00:02 gprof 5526 -rwxr-xr-x 4 qnxuser root 2829600 2025-08-11 00:02 ld.bfd 5526 -rwxr-xr-x 4 qnxuser root 2829600 2025-08-11 00:02 ld