Ticket UUID: | 1432696 | |||
Title: | TEA needs -ltk before -ltcl | |||
Type: | Patch | Version: | None | |
Submitter: | gregcouch | Created on: | 2006-02-16 08:16:07 | |
Subsystem: | 85. tclconfig | Assigned To: | hobbs | |
Priority: | 5 Medium | Severity: | ||
Status: | Closed | Last Modified: | 2010-09-30 02:23:04 | |
Resolution: | Works For Me | Closed By: | sf-robot | |
Closed on: | 2010-09-29 19:23:04 | |||
Description: |
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. | |||
User Comments: |
sf-robot added on 2010-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). nijtmans added on 2010-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 andreas_kupries added on 2010-08-14 04:38:24: Could this be an issue with static linking, opposed to usage of stubs ? hobbs added on 2010-08-14 03:43:41: I haven't found a system linker where this is true testing with tktable. What system showed this behavior? gregcouch added on 2006-02-16 15:16:08: File Added - 167661: d |
Attachments:
- d [download] added by gregcouch on 2006-02-16 15:16:07. [details]