On 2008-10-10 19:42+0200 Werner Smekal wrote: > Hi Alan, > > no, I didn't forget to commit the changes. It's actually cmake which defines > this xxx_EXPORTS for us. Compile the library in verbose mode > > make VERBOSE=1 > > and you will see in the command line that the corresponding xxx_EXPORTS show > up.
Thanks for that clarification. I had no idea that cmake was doing that automatically. I have some reservations about utilizing these automatically produced xxx_EXPORTS (LIB_TAG means pldll.h ultimately has to be configured, and backwards compatibility with our minimum version of cmake-2.4.5 also has to be tested). However, the present system is fine for testing purposes now for at least double precision libraries and CMake-2.6.x. I did such tests using the preferred export CC='gcc -fvisibility=hidden' export CXX='g++ -fvisibility=hidden' export FC='gfortran -fvisibility=hidden' method for Linux which showed a spelling mistake for the C wrapper libraries for both f77 and f95 which I have now fixed (revision 8873). The current Linux visibility status for cmake -DCMAKE_INSTALL_PREFIX=/home/software/plplot_cvs/installcmake -DBUILD_TEST=ON -DPLD_wxwidgets=ON -DHAVE_PTHREAD=ON -DENABLE_pdl=ON -DHAVE_ADA_2007=ON -DENABLE_tcl=OFF (i.e., a rather fully loaded configuration other than Tcl which had a visibility issue revealed at build time which I had to avoid) shows no build errors. However, ctest reveals some limited run-time errors for psttc, pscairo, and pngcairo. Note that the fortran examples passed ctest. This was a bit surprising to me since we do something special in the headers to make symbols in the C source code libraries libplplotf77cd and libplplotf95cd visible, but we have no mechanism to do the same thing for the Fortran source code libraries libplplotf77d and libplplotf95d. The only reasonable conclusion is gfortran always exposes all symbols in Fortran source code libraries and the above -fvisibility=hidden option for gfortran is just ignored. Arjen and Werner, that probably means your gfortran ctests will also pass on Windows (for revision 8873). Later today I hope to report visibility fixes for Tcl, psttc, and the cairo device driver, bit meanwhile, many thanks, Werner, for straightening out the general namespace issues with the previous visibility treatment. 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