Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Xavier Leroy <xavier.leroy@inria.fr>
To: Berke Durak <berke@altern.org>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] OpenBSD and dynamic loading
Date: Wed, 24 Oct 2001 11:07:05 +0200	[thread overview]
Message-ID: <20011024110705.A13939@pauillac.inria.fr> (raw)
In-Reply-To: <20011017214131.D27112@gogol.zorgol>; from berke@altern.org on Wed, Oct 17, 2001 at 09:41:31PM +0200

> Will dynamic library loading be supported under OpenBSD ? It remotely
> seems to me that it's just a matter of giving the proper options
> to the linker and of defining the (unused) RTLD_ flags to dlopen().

In general, dynamic loading support is activated only after thorough
testing on the OS in question.  That's because there is considerable
variability between Unix systems on
1- the compilation flags for building shared objects;
2- the flags supported by dlopen();
3- whether some features of dynamic loading (e.g. automatic loading of
   dependent libraries) are properly implemented.

Jacques Garrigue and I found the hard way that several reputable Unixes
have well-hidden problems with dynamic loading, especially points 2 and 3
above.  It is better for the final users to leave dynamic loading
turned off in case of doubt rather than turn it on and run into
obscure problems later.

Concerning OpenBSD in particular, we have no OpenBSD machine to do the
testing, so don't expect DLL support there soon.

- Xavier Leroy
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr


      reply	other threads:[~2001-10-24  9:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-17 19:41 Berke Durak
2001-10-24  9:07 ` Xavier Leroy [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20011024110705.A13939@pauillac.inria.fr \
    --to=xavier.leroy@inria.fr \
    --cc=berke@altern.org \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox