aboutsummaryrefslogtreecommitdiff
path: root/board/MAI/bios_emulator/scitech/bin/qnxnto.sh
diff options
context:
space:
mode:
Diffstat (limited to 'board/MAI/bios_emulator/scitech/bin/qnxnto.sh')
-rw-r--r--board/MAI/bios_emulator/scitech/bin/qnxnto.sh21
1 files changed, 21 insertions, 0 deletions
diff --git a/board/MAI/bios_emulator/scitech/bin/qnxnto.sh b/board/MAI/bios_emulator/scitech/bin/qnxnto.sh
new file mode 100644
index 00000000000..c114f9e3372
--- /dev/null
+++ b/board/MAI/bios_emulator/scitech/bin/qnxnto.sh
@@ -0,0 +1,21 @@
+#! /bin/sh
+
+# Setup for compiling with Watcom C/C++ for QNX Neutrino
+
+if [ "$CHECKED" = "1" ]; then
+ echo Checked debug build enabled.
+else
+ echo Release build enabled.
+fi
+
+if [ X$GCC_PATH = "X" ]; then
+ export GCC_PATH=/usr/gcc/bin
+fi
+
+export MAKESTARTUP=$SCITECH/makedefs/qnxnto.mk
+export INCLUDE="-I$SCITECH/include -I$PRIVATE/include -I/usr/nto/include"
+export USE_BIOS=1 # VBIOS lib is tiny under Neutrino, always include it
+export USE_QNX=1
+export USE_QNXNTO=1
+
+echo Qnx Neutrino console compilation environment set up