adrianbo -> Dynamic loading support for Tcl/Tk (Oct. 6, '06, 6:51:20 AM) |
I noticed that the current Tools Warehouse ports of Tcl and Tk (8.4.13) don't have dynamic loading enabled. I needed support for this to be able to use the Tk Iwidgets extension (as well as the itcl and itk extensions), so I just added an 'Interix' system option to the configure scripts in the 'standard' Linux tar.gz source distributions for all these packages, and they built quite happily. More importantly, they also seem to run quite happily when dynamically loaded from Tcl.
If anyone else has this problem, it turns out all you need to do for all of them is copy the section for 'Linux*' in the configure script, paste it in as 'Interix*', then remove "-Wl,--export-dynamic" from LDFLAGS, and "-fPIC" from SHLIB_CFLAGS in the newly-created Interix section. |
|
|
|