On Wed, 2 Jun 2004, Stephane Bortzmeyer wrote:

On Wed, Jun 02, 2004 at 08:59:33AM -0500,
Bob Friesenhahn <[EMAIL PROTECTED]> wrote
a message of 30 lines which said:

If you use libltdl to do module loading rather than raw dlopen()

I hesitate. What are the pros and cons? I do not really want to add yet another dependency to my program.

Cons:

  - Need to distribute libltdl source with your package.
  - Need to enable configuring/building/using libltdl in your package.

Pros:

  - Cross-platform module loading portability.
  - Module library dependencies for OSs that otherwise don't support
    them.
  - API is similar to using dlopen(), but with some value-added
    features.
  - Provides a "module" paradigm for static builds as a fall-back or
    to assist with debugging.

Bob
======================================
Bob Friesenhahn
[EMAIL PROTECTED]
http://www.simplesystems.org/users/bfriesen


_______________________________________________ Libtool mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/libtool

Reply via email to