Skip to content
Tcl Source Code View Ticket
Login

View Ticket

--enable-symbols=all does not enable mem/compile options...

Closed / Invalid748724ffffffffffffffffffffffffffffffffffCreated 24 years agoUpdated 24 years ago
Descriptionplain2003-06-04 08:07:09
I tested for this behavior on FreeBSD 4.8 with core-
8-4-branch and HEAD.

configure does not seem to be producing the 
correct Makefile.

The 
defines "TCL_MEM_DEBUG", "TCL_COMPILE_DEBUG", 
and "TCL_COMPILE_STATS" are not being enabled 
when "--enable-symbols=all" is used. 

This is contrary to the documentation in 
the "unix/README" file.

Perhaps this has something to do with using "--
enable-threads" at the same time?
hobbsplain2003-06-05 00:10:53
Logged In: YES 
user_id=72656

I cannot reproduce this on Linux:

configure with --enable-symbols=all outputs:
  ...
checking for build with symbols... enabled symbols mem 
compile debugging
  ...

woset [~/build/tcl84sdp] 108 > make
gcc -pipe -c -g -DTCL_DBGX=g -Wall -Wconversion -Wno-
implicit-int -fPIC -I/home/jeffh/cvs/tcl/tcl8.4/unix/../generic -
I/home/jeffh/cvs/tcl/tcl8.4/unix -DHAVE_UNISTD_H=1 -
DHAVE_LIMITS_H=1 -D_LARGEFILE64_SOURCE=1 -
DTCL_WIDE_INT_TYPE=long\ long -
DHAVE_STRUCT_STAT64=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_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -
DUSE_TERMIOS=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 -DSTDC_HEADERS=1 -
DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -
DSTATIC_BUILD=1 -DPEEK_XCLOSEIM=1 -
DTCL_MEM_DEBUG=1 -DTCL_COMPILE_DEBUG=1 -
DTCL_COMPILE_STATS=1 -
DHAVE_SYS_IOCTL_H=1         -
DTCL_SHLIB_EXT=\".so\" /home/jeffh/cvs/tcl/tcl8.4/unix/../gen
eric/regcomp.c
...
mistachkin Closed ticket [748724ffff]. [History diff]2003-06-05 03:20:13
Log in (anonymous is fine) to add a comment.