On 2008-10-10 11:49-0700 Alan W. Irwin wrote:

> Later today I hope to report visibility fixes for Tcl, psttc, and the cairo
> device driver...

Just finished the tclmatrixd and plplottcltk namespace changes (revision
8878).  I also dropped the PLDLLIMPEXP* macros from the source code as much
as possible and left it to the headers to use the macros instead.  The
tcl/tk build now works (again?) with export CC='gcc -fvisibility=hidden'.
ctest for tcl also works.

I actually don't have any idea why this works.  Here are the nm results

[EMAIL PROTECTED]> nm --extern-only --defined-only
bindings/tcl/libplplottcltkd.so 
000000000000a045 T Pltcl_Init
000000000001f828 T Pltk_Init
000000000022edd8 A __bss_start
000000000022edd8 A _edata
0000000000230560 A _end
0000000000027fd8 T _fini
00000000000081f8 T _init
000000000000a0f8 T plWait_Until
000000000001f07a T pltclMain
000000000002779c T pltkMain

Note, none of the normal wrapper symbols (e.g., plcol0Cmd) are visible.
So how are the tcl examples (which use, e.g., "$w cmd plcol0 1" quite a bit)
able to even execute without access to the normal wrapper symbols?

If the Windows developers here have trouble with Tcl, then the first place I
would try changing is the generated headers like bindings/tcl/tclgen.h where
plcol0Cmd, etc., are declared (currently without any reference to
PLDLLIMPEXP_TCLTK.).

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state implementation
for stellar interiors (freeeos.sf.net); PLplot scientific plotting software
package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of
Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__________________________

Linux-powered Science
__________________________

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to