[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ocaml-ldconf?



On Mon, Mar 11, 2002 at 11:34:35AM +0200, Johann Spies wrote:
> The contents of /etc/ocaml/ld.conf refers to:
> 
> "See the ocaml-ldconf(1) for more details."

Mmm, had no time to write one myself for it, feel free to contribute one, if
you like.

That said, in two week i will have a bit more time again, and now that ocaml
3.04-9 is in testing (it did go into testing, isn't it, or did i dream it), i
will fix this kind of small things. (i didn't want to make a new upload before
ocaml 3.04-9 did move to testing, in order to not keep obsolet stuff in
testing.

> But 
> $ man ocaml-ldconf
> No manual entry for ocaml-ldconf
> 
> So where do I find the details?

Information can be found in the /usr/share/doc/ocaml directory, in the files:
README.Debian and ocaml_packaging_policy.gz.

Further information is found in the mails of this mailing list, in particular
the exchanges i had with Denis Barbier.

And then, naturally there is the source of ocaml-ldconf.ml in the ocaml source
package, but it is by no means clear, i should really clean this code a bit
more.

Finally, there is also the command line help, provided by ocaml-ldconf --help
:

$ ocaml-ldconf --help

Usage:
  1) ocaml-ldconf [OPTIONS]
     updates /usr/lib/ocaml/ld.conf from /etc/ocaml/ld.conf and
/var/lib/ocaml/l
d.conf.
  2) ocaml-ldconf [OPTIONS] -l
     shows the current dll paths.
  3) ocaml-ldconf [OPTIONS] [-p PACKAGE] -a/-r DIR
     adds/removes DIR to /var/lib/ocaml/ld.conf for package PACKAGE.

Options:

  -v adds more verbose messages.
  -n don't update the dll paths.


  -a add given path to the dynamic loading standard path
  -r remove the given path from the dynamic loading standard path
  -p gives the package name which adds/removes the path
  -l displays the current dynamic loading paths
  -v display more verbose messages
  -n display more verbose messages
  -help  display this list of options
  --help display this list of options

Friendly,

Sven Luther




Reply to: