Tcl Source Code

View Ticket
Login
Ticket UUID: 1863648
Title: TclOO stub library on windows is misnamed?
Type: Bug Created on: 2008-01-03 23:25:32
Submitter: kennykb Assigned to: hobbs
Subsystem: 70. Sample Extension Severity:
Priority: 7 High Last modified: 2026-11-13 11:18:43
Status: Closed Closed by: serhiy.storchaka
Resolution: Out of Date Closed on: 2026-11-13 11:18:43
Version: None
Description:
When doing a usual configure and make, using MinGW and msys on Windows XP, I notice that the TclOO stub library is named libTclOOstub011.a. This is a Unix naming convention; it would be significantly less surprising on Windows if it were called TclOOstub011.lib, by analogy to tclstub85.lb and tkstub85.lib.
User Comments:
dkf added on 2008-01-06 07:07:08:
Logged In: YES 
user_id=79902
Originator: NO

I think this is probably a TEA bug. TclOO just uses that part, and never defines it manually; it's derived from somewhere in tclconfig/tcl.m4

jenglish added on 2008-01-06 08:30:45:
Logged In: YES 
user_id=68433
Originator: NO

Better still would be to name it libtcloostub.a on Unices or TCLOOSTUB.LIB on Windows.

There is no good reason to include a version number in stub library names, since the *_InitStubs() procedure is normally identical on all versions.

But yes, this is a TEA bug.

serhiy.storchaka added on 2026-11-13 11:18:43:

TclOO is part of Tcl since 8.6 and its stub functions are in the Tcl stub library, so there is no separate TclOO stub library any more.