screen-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[screen-devel] [PATCH 0/1] Add support for QNX


From: Juan Pablo Samper
Subject: [screen-devel] [PATCH 0/1] Add support for QNX
Date: Tue, 2 Apr 2024 12:40:37 -0700

At a high-level, this patch adds support for QNX 7.1 by adding
'#ifdef/ifndef __QNX__' in the right places.

The patch is based on the latest release v.4.9.1.

You'll need a valid QNX toolchain to compile and test it:

source /path/to/qnx/install/qnxsdp-env.sh
CC="${QNX_HOST}/usr/bin/aarch64-unknown-nto-qnx7.1.0-gcc"
CFLAGS="-D__QNX__"
LDFLAGS='-lsocket'
./configure --host=aarch64

OR

source /path/to/qnx/install/qnxsdp-env.sh
CC="${QNX_HOST}/usr/bin/x86_64-pc-nto-qnx7.1.0-gcc"
CFLAGS="-D__QNX__"
LDFLAGS='-lsocket'
./configure --host=x86_64


Juan Pablo Samper (1):
  Add QNX support

 src/os.h   | 2 +-
 src/utmp.c | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

-- 
2.34.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]