caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Xavier Leroy <Xavier.Leroy@inria.fr>
To: Michael Hicks <mhicks@cs.cornell.edu>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] merging .cmxa files?
Date: Tue, 18 Sep 2001 15:50:33 +0200	[thread overview]
Message-ID: <20010918155033.B23689@pauillac.inria.fr> (raw)
In-Reply-To: <404A3A4758DDCC4C8A5C9A537384F9D6037605@opus.cs.cornell.edu>; from mhicks@cs.cornell.edu on Sun, Sep 02, 2001 at 03:55:37PM -0400

> I apologize if there is an obvious answer to this question somewhere,
> but I couldn't find it in the documentation or the archive:
> 
> Is there a way to merge two .cmxa files into a single .cmxa file?

ocamlc -a can do that in the case of .cma libraries.  ocamlopt -a
could do it also if it were not for the stubbornness of the underlying
"ar" command (which is used to group together the .o files containing
the actual code for the Caml modules in the library): "ar" cannot
combine several .a files into one.

So, currently, I don't see how this can be done, save by significant
hacking in / around "ar".

- 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-09-18 13:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-02 19:55 Michael Hicks
2001-09-18 13:50 ` Xavier Leroy [this message]
2001-09-18 14:32   ` Markus Mottl

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=20010918155033.B23689@pauillac.inria.fr \
    --to=xavier.leroy@inria.fr \
    --cc=caml-list@inria.fr \
    --cc=mhicks@cs.cornell.edu \
    /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;
as well as URLs for NNTP newsgroup(s).