From: Alan W. I. <ir...@be...> - 2006-09-22 01:45:26
|
On 2006-09-18 12:48-0700 Alan W. Irwin wrote: > [...] The gist is when dynamic devices (plug-ins) are disabled, > then two additional separate libraries (one for C driver code and one for > C++ driver code) are made and our core library is linked to those two > additional libraries. This turned out to be a crummy idea. For the technical reasons behind that see my recent post to the plplot-devel list. However, that same post details how I tried the only other alternative (mixing C++ and C object code in the same library), and that apparently works on Linux (and maybe all other systems as well?). The current status is the CVS version of PLplot should give a static build of PLplot libraries (including the C++ wxwidgets and psttf devices) that passes all build-tree tests, but there is still a minor problem (library ordering issue) for the install tree tests which I will deal with tomorrow. Note, this PLplot "static build" is still not what Joe wants since even though the PLplot libraries are all statically linked together for this case, the external linking is still shared. I think the solution to making even the external linking shared is simply to impose the -Bstatic link option on top of the static PLplot build (once that completely works), but I haven't tried that yet, and I am sure there will be minor but time-consuming issues to sort out. Joe, you have come up with an interesting problem that now has me hooked, but it will probably be next week before I can come up with the definitive answer. 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 Yorick front-end to PLplot (yplot.sf.net); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ |