We tried to port this package in the latest devenv of QNX6.
After having run ./configure, the makefile compiles all sources and
generates the tclsh target.
Conversely if we run the test procedures included in the package with
“make test” there are several failures. These failures indicate some
compatibility issues with the same functions implemented in other
systems (we tried linux and cygwin) where all tests pass correctly.
We tried with several versions of TCL (8.4.9, 8.4.12, 8.4.13) without
finding significant variations in terms of test failures. An example is
attached.
Is there somebody having some experience on this subject ?
Thanks,
Enrico
Enrico Bendinelli wrote:
We tried to port this package in the latest devenv of QNX6.
After having run ./configure, the makefile compiles all sources and
generates the tclsh target.
Conversely if we run the test procedures included in the package with
“make test” there are several failures. These failures indicate some
compatibility issues with the same functions implemented in other
systems (we tried linux and cygwin) where all tests pass correctly.
We tried with several versions of TCL (8.4.9, 8.4.12, 8.4.13) without
finding significant variations in terms of test failures. An example is
attached.
Is there somebody having some experience on this subject ?
Thanks,
Enrico
\
mv: Moving tclAppInit.o to tclAppInit.sav
gcc -pipe -c -O -DTCL_DBGX= -Wall -Wno-implicit-int -fno-strict-aliasing -I/home/enrico/tcl/tcl8.4.12/unix/…/generic -I/home/enrico/tcl/tcl8.4.12/unix -DNO_VALUES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DSTATIC_BUILD=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DHAVE_OPEN64=1 -DHAVE_LSEEK64=1 -DHAVE_TYPE_OFF64_T=1 -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOLL=1 -DHAVE_STRTOULL=1 -DHAVE_TMPNAM=1 -DHAVE_WAITPID=1 -DHAVE_SYS_MODEM_H=1 -DUSE_TERMIOS=1 -DNO_FD_SET=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_BLKSIZE=1 -DNO_FSTATFS=1 -DSTDC_HEADERS=1 -DNO_UNION_WAIT=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_SYS_IOCTL_H=1 -DTCL_SHLIB_EXT=""
You should better use qcc and QCC.
Please try to configuer with: CC=qcc CXX=QCC configure
Regards
Armin
http://www.steinhoff-automation.com