diff options
author | hobbs <hobbs> | 2001-08-23 19:10:43 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2001-08-23 19:10:43 (GMT) |
commit | 571e6798ab1268412251c2a343f1a328307d5d68 (patch) | |
tree | d1e9b90e5bf18f317eebbee908bec17ab32555f4 /unix/tcl.m4 | |
parent | d47a11a41d9e4135a144e498ff673ff43c5057d9 (diff) | |
download | tcl-571e6798ab1268412251c2a343f1a328307d5d68.zip tcl-571e6798ab1268412251c2a343f1a328307d5d68.tar.gz tcl-571e6798ab1268412251c2a343f1a328307d5d68.tar.bz2 |
added QNX-6 build support. [Bug #219410] (loverso)
Diffstat (limited to 'unix/tcl.m4')
-rw-r--r-- | unix/tcl.m4 | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/unix/tcl.m4 b/unix/tcl.m4 index 76f905f..04fbaf6 100644 --- a/unix/tcl.m4 +++ b/unix/tcl.m4 @@ -955,6 +955,19 @@ dnl AC_CHECK_TOOL(AR, ar, :) fi ;; + QNX-6*) + # QNX RTP + # This may work for all QNX, but it was only reported for v6. + SHLIB_CFLAGS="-fPIC" + SHLIB_LD="ld -Bshareable -x" + SHLIB_LD_LIBS="" + SHLIB_SUFFIX=".so" + DL_OBJS="tclLoadDl.o" + # dlopen is in -lc on QNX + DL_LIBS="" + LDFLAGS="" + LD_SEARCH_FLAGS="" + ;; RISCos-*) SHLIB_CFLAGS="-G 0" SHLIB_LD="echo tclLdAout $CC \{$SHLIB_CFLAGS\} | `pwd`/tclsh -r -G 0" |