Fix the QNX 8.0 build for Makefile and CMake - #1672
Open
jclsn wants to merge 5 commits into
Open
Conversation
Author
|
@icraggs Can you please have a look? |
jclsn
force-pushed
the
fix/qnx8-build
branch
2 times, most recently
from
May 14, 2026 09:03
df1a6a3 to
60a5c70
Compare
jclsn
marked this pull request as draft
May 14, 2026 09:34
Fixes the Make and CMake builds Changes: Code: - SHA1.c: endian handling via gulliver.h - Define AI_ADDRCONFIG=0, since it is not defined in all QNX versions CMake: - Add -D_QNX_SOURCE Makefile: - Removed -pthread, since is implied in QNX - Added -lsocket, which is mandatory in QNX for networking - Removed -ldl, since is not available in QNX - defaults to qcc for QNX and gcc for Linux and Darwin in Makefile Build instructions: cmake -DCMAKE_SYSTEM_NAME=QNX -B build -S . cmake --build build or make OS_TYPE=QNX This builds with qcc by default, but you can specify CC=ntoaarch64-gcc or CC=ntox86_64-gcc Signed-off-by: Jan Claußen <jan.claussen10@web.de>
jclsn
force-pushed
the
fix/qnx8-build
branch
2 times, most recently
from
May 14, 2026 12:54
c6fa03d to
a2c7905
Compare
jclsn
marked this pull request as ready for review
May 14, 2026 12:54
For some reasons QNX does not correctly create the symlinks to the shared objects missing the minor and major version. Explicitely cd'ing into the build folder and creating them there, fixes this. Works on Linux as well. Signed-off-by: Jan Claußen <jan.claussen10@web.de>
Signed-off-by: Jan Claußen <jan.claussen10@web.de>
Signed-off-by: Jan Claußen <jan.claussen10@web.de>
Signed-off-by: Jan Claußen <jan.claussen10@web.de>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes the QNX 8.0 build for Makefile and CMake.
Supersedes #1602
Fixes the Make and CMake builds
Changes:
Code:
CMake:
Makefile:
Build instructions:
cmake -DCMAKE_SYSTEM_NAME=QNX -B build -S . cmake --build buildor
This builds with qcc by default, but you can specify CC=ntoaarch64-gcc
or CC=ntox86_64-gcc
qccandntoaarch64-gccandntox86_84-gcc