Support for QNX (wrat@jump.net (the wharf rat)).

This commit is contained in:
Lutz Jänicke 2001-11-30 09:38:57 +00:00
parent b6e4dac217
commit 6a9af68b56
3 changed files with 30 additions and 2 deletions

View File

@ -388,6 +388,9 @@ my %table=(
# QNX 4
"qnx4", "cc:-DL_ENDIAN -DTERMIO::(unknown):::${x86_gcc_des} ${x86_gcc_opts}:",
# QNX 6
"qnx6", "cc:-DL_ENDIAN -DTERMIOS::(unknown)::-lsocket:${x86_gcc_des} ${x86_gcc_opts}:",
# Linux on ARM
"linux-elf-arm","gcc:-DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall::-D_REENTRANT:::BN_LLONG::::::::::dlfcn:linux-shared:-fPIC:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",

24
TABLE
View File

@ -1,4 +1,3 @@
Output of `Configure TABLE':
*** BC-16
$cc = bcc
@ -2714,6 +2713,29 @@ $shared_cflag =
$shared_extension =
$ranlib =
*** qnx6
$cc = cc
$cflags = -DL_ENDIAN -DTERMIOS
$unistd =
$thread_cflag = (unknown)
$sys_id =
$lflags = -lsocket
$bn_ops = DES_PTR DES_RISC1 DES_UNROLL RC4_INDEX MD2_INT
$bn_obj =
$des_obj =
$bf_obj =
$md5_obj =
$sha1_obj =
$cast_obj =
$rc4_obj =
$rmd160_obj =
$rc5_obj =
$dso_scheme =
$shared_target=
$shared_cflag =
$shared_extension =
$ranlib =
*** rhapsody-ppc-cc
$cc = cc
$cflags = -O3 -DB_ENDIAN

5
config
View File

@ -246,10 +246,13 @@ case "${SYSTEM}:${RELEASE}:${VERSION}:${MACHINE}" in
;;
QNX:*)
case "$VERSION" in
case "$RELEASE" in
4*)
echo "${MACHINE}-whatever-qnx4"
;;
6*)
echo "${MACHINE}-whatever-qnx6"
;;
*)
echo "${MACHINE}-whatever-qnx"
;;