This might be a bit too internal for the forum, but maybe still of interest
for more:

The HDF5 tools (h5dump, h5ls, ...) share common code via the tools library.
This is currently built as a static library and linked into the main 
executables.

It appears it would not be a big effort to modify it to be shared library/DLL
instead. There are two symbols that from the library are references as 
"external"
and are supposed to be defined in the main application. These would need to go
into the library itself instead to be able to build it as shared library. Not
a big deal.

If we can have the tools library available through header files and DLL for
user code as well, it has two advantages: once the executables are a bit
smaller (which is not really important these days), but secondly one could
also easier write user-modified versions of h5ls/h5dump etc., for instance
versions that use another VFD, or output data differently on dump etc.

As a DLL under windows, only addition required in the code were some
symbol export definitions. I'd be volunteering to contribute such.

Is there interest in such a patch?

        Werner


--
___________________________________________________________________________
Dr. Werner Benger                Visualization Research
Laboratory for Creative Arts and Technology (LCAT)
Center for Computation & Technology at Louisiana State University (CCT/LSU)
211 Johnston Hall, Baton Rouge, Louisiana 70803
Tel.: +1 225 578 4809                        Fax.: +1 225 578-5362

_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

Reply via email to