Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2010-09-30
02:23 • Closed ticket [1432696fff]: TEA needs -ltk before -ltcl plus 6 other changes artifact: 8fd298692e user: sf-robot
2010-08-14
10:46 • Ticket [1432696fff]: 4 changes artifact: 162b75e69d user: nijtmans
04:38 • Ticket [1432696fff]: 4 changes artifact: 970cf5acc3 user: andreas_kupries
03:43 • Pending ticket [1432696fff]. artifact: 1af0d10ce0 user: hobbs
03:43 • Ticket [1432696fff]: 4 changes artifact: 442ba1cf4f user: hobbs
2006-02-16
15:16 • Ticket [1432696fff]: 4 changes artifact: 7dca90c19f user: gregcouch
15:16 • Add attachment d to ticket [1432696fff] artifact: 784168cf80 user: gregcouch
08:16 • New ticket [1432696fff] TEA needs -ltk before -ltcl. artifact: 12e0c04ce5 user: gregcouch

TEA needs -ltk before -ltcl

Closed / Works For Me1432696fffffffffffffffffffffffffffffffffCreated 21 years agoUpdated 16 years ago
Descriptionplain2006-02-16 08:16:07
When linking without stubs, extensions need to link
first against tk and then against tcl because the tk
library refers to symbols in the tcl library and *NIX
linkers resolve dependencies from left to right.
gregcouchplain2006-02-16 15:16:08
File Added - 167661: d
hobbsplain2010-08-14 03:43:41
I haven't found a system linker where this is true testing with tktable.  What system showed this behavior?
hobbs Pending ticket [1432696fff]. [History diff]2010-08-14 03:43:42
andreas_kupriesplain2010-08-14 04:38:24
Could this be an issue with static linking, opposed to usage of stubs ?
nijtmansplain2010-08-14 10:46:40
Looking at the patch, it reverses the order of linking the Tcl
and Tk stub libraries. Tk's stub library accesses Tcl's stub
library, but the extension being compiled will do it as well,
so in practice it will never be a problem.

I don't think this is a bug, but just a style issue. It looks
better to always link Tk-related things before Tcl-related
things, but that's all
sf-robotplain2010-09-30 02:23:04
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).
Log in (anonymous is fine) to add a comment.

Attachments: