OriginalBugID: 3254 Bug
OS: All Windows
Build Tcl from source on Windows using the "--enable-symbols" configure switch. Install the built Tcl into some directory. Now try to "package require Reg". It fails because the pkgIndex file contains the wrong name for the reg .dll.
It appears that we are using a static pkgIndex file for the reg and dde packages. The refer to the dll names by "tclreg82.dll". But when --enable-symbols is specified, the dll name is "tclreg82d.dll".
To fix: The configure script should generate the pkgIndex.tcl files for the reg and dde packages.
Fixed the pkgIndex.tcl files to test on whether tcl_platform(debug)
exists, and load the 'd' version if so. This isn't auto-gen'ing of
the pkgIndex.tcl file, but works. We should probably rename the
libraries so that they don't include the Tcl version in them anyway.
-- 11/02/1999 hobbs