caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Pixel <pixel@mandrakesoft.com>
To: "Rafael 'Dido' Sevilla" <sevillar@team.ph.inter.net>
Cc: Caml List <caml-list@pauillac.inria.fr>
Subject: Re: [Caml-list] How standalone are ocaml binaries?
Date: 23 Oct 2001 16:57:42 +0200	[thread overview]
Message-ID: <lyk7xme74p.fsf@leia.mandrakesoft.com> (raw)
In-Reply-To: <20011023170505.A18254@team.ph.inter.net>

"Rafael 'Dido' Sevilla" <sevillar@team.ph.inter.net> writes:

> How standalone are binaries created by ocaml? 

completly standalone with "ocamlopt" or "ocamlc -custom"
(except for the standard C libraries, try ldd)

> Will an ocamlrun binary
> for system X be sufficient to make an ocaml runtime system for byte
> compiled files?

yes, everything is included in ocamlrun (the corollary is that if you want
things like Unix or Str or any extension, you have to build a custom ocamlrun)

The result is quite big binaries, and no possibility to share the common stuff
between them:

pixel@leia:~>ls -l /usr/bin/unison 
-rwxr-xr-x    1 root     root      1934396 Oct  5 21:56 /usr/bin/unison

For example, is there any way to build a shareable lablgtk? It should be
possible to achieve this using lablgtkrun? Would it big possible with
binary (ocamlopt)?

--
Pixel

-------------------
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-23 14:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-23  9:05 Rafael 'Dido' Sevilla
2001-10-23 14:57 ` Pixel [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=lyk7xme74p.fsf@leia.mandrakesoft.com \
    --to=pixel@mandrakesoft.com \
    --cc=caml-list@pauillac.inria.fr \
    --cc=sevillar@team.ph.inter.net \
    /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).