Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
KLone on QNX (Linux host)
This procedure has been tested with the QNX 6.3 SDK installed on Linux. The following assumes that Momentics has been installed in the default location /opt/qnx630; if this is not your case, please change the given paths accordingly.
Setup the environment
qconfig helper application to setup the environment:
$ /opt/qnx630/host/linux/x86/usr/bin/qconfig -e > qnx.env $ . qnx.env
Be sure that the SDK is configured to use gcc 3.3.1 (by default gcc 2.95.3 is used):
$ cat /opt/qnx630/host/linux/x86/etc/qcc/gcc/default DIR=2.95.3 $ echo DIR=3.3.1 > /opt/qnx630/host/linux/x86/etc/qcc/gcc/default
NOTE: on Momentics 6.3.2, gcc version is 3.3.5.
Create the top-level Makefile in an empty directory:
$ mkdir klone2 $ cd klone2 $ vi Makefile ... (Makefile follows) ... KLONE_VERSION = 2.0.1pre3 MAKL_PLATFORM = qnx-armbe WEBAPP_DIR = $(CURDIR)/webapp include klapp.mk klapp.mk: ; wget -O $@ -c http://koanlogic.com/klone/klapp-2.0.0.mk
MAKL_PLATFORM variable to match your target architecture. The current KLone release (2.0.1pre3) ships with the following QNX toolchains bundled:
and install the compiled/linked binary on your target platform.