Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: "Alexander V. Voinov" <avv@quasar.ipa.nw.ru>
To: Xavier Leroy <xavier.leroy@inria.fr>
Cc: "caml-list@inria.fr" <caml-list@inria.fr>
Subject: Re: [Caml-list] a hard road to a new toplevel
Date: Thu, 21 Feb 2002 15:01:41 -0800	[thread overview]
Message-ID: <3C757C55.A9AF8B7D@quasar.ipa.nw.ru> (raw)
In-Reply-To: <20020221151254.A31874@pauillac.inria.fr>

Hi Xavier,

Xavier Leroy wrote:
> Library files (.cma files) provide an answer to this issue: *if* the
> authors of the library did a good job, they built a .cma file that
> groups all .cmo files for their library, in the right order.  Then,
> the final user simply links with the .cma file, and the OCaml linker
> picks only the relevant .cmo files from the .cma.

I see, this indicates what *I* did wrong: I'd better take a closer look
at the available .cma files. With this it boiled down to:

ocamlmktop extlib.cma unix.cma unix2.cma -o unix2top

> Not true:  -cclib -lunix2_c will pass a "-lunix2_c" option to gcc and ld.

For some reason it didn't work for me with the stock ocaml-3.04 + cvs
cdk, but I rolled back to cdk-3.02.

Thank you!

Alexander
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


      reply	other threads:[~2002-02-21 23:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-20 20:14 Alexander V. Voinov
2002-02-21 14:12 ` Xavier Leroy
2002-02-21 23:01   ` Alexander V. Voinov [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=3C757C55.A9AF8B7D@quasar.ipa.nw.ru \
    --to=avv@quasar.ipa.nw.ru \
    --cc=caml-list@inria.fr \
    --cc=xavier.leroy@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