[Insight-developers] Dynamic loaders and 2 separate versions

Lorensen, William E (GE, Research) lorensen at crd.ge.com
Thu Sep 28 12:58:22 EDT 2006


Hans,

Although I have not looked in detail at this, removing itkDynamicLoader.cxx would break backward compatibility. However, we can stop using it inside itk and switch to the kwsys version internally.

Bill

-----Original Message-----
From: insight-developers-bounces+lorensen=crd.ge.com at itk.org
[mailto:insight-developers-bounces+lorensen=crd.ge.com at itk.org]On Behalf
Of Hans Johnson
Sent: Thursday, September 28, 2006 10:26 AM
To: ITK; William A. Hoffman
Subject: [Insight-developers] Dynamic loaders and 2 separate versions


Hello All,
There are two files that deal with Dynamic loading of libraries that seem to
be derived from the same basic premise:

Utilities/kwsys/DynamicLoader.cxx Code/Common/itkDynamicLoader.cxx

It seems that the kwsys version is more up-to date, and deals with some
changes to the recent MacOSX OS that make it more unix compliant.

I would recommend that the itkDynamicLoader.cxx file be reviewed, and
removed if possible.  If there are really itk needed specializaations, then
I would propose that the recent changes to the kwsys version be merged into
the itkDynamicLoader.cxx version.

I am willing to attempt this, but the world of shared library dynamic
loading is beyond my comfort level ( I am very glad that the there are smart
people on the ITK team to magically take care of this for me!).

Please let me know if I can help, and what precautions should be taken in
merging these two files.

Thanks,
Hans

_______________________________________________
Insight-developers mailing list
Insight-developers at itk.org
http://www.itk.org/mailman/listinfo/insight-developers


More information about the Insight-developers mailing list