Open MPI logo

Hardware Locality Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

Subject: Re: [hwloc-devel] -lhwloc in components.
From: Samuel Thibault (samuel.thibault_at_[hidden])
Date: 2012-09-05 10:21:34

So ltdl does not help for that matter?

One way would be to pass to the component a structure with all the
useful function pointers (using #define to keep the same source code).

Another way would be to gather the allowed functions into a separate
libhwloc-components library without internal state, thus allowing
several copies, but that would bring a possibility of differing versions
between e.g. a statically-linked libhwloc.a and the dynamically-loaded