caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Xavier Leroy <xleroy@pomerol>
To: caml-list@margaux
Subject: Re: Enrichir 'camltop' avec des primitives C
Date: Tue, 13 Oct 92 20:58:06 MET	[thread overview]
Message-ID: <9210131958.AA25408@pomerol.inria.fr> (raw)

En reponse au message de Claude Fleurey: il est tout a fait normal que
les ``custom toplevels'' construits avec camlmktop et integrant des
primitives C fournies par l'utilisateur soient nettement plus gros que
le toplevel standard camltop, meme si le code ajoute (fichiers .zo
et .o) est de petite taille. En effet (et ceci s'applique non
seulement aux toplevels construits avec camlmktop, mais aussi aux
executables construits par camlc), tout executable construit avec
l'option "-custom", et donc a fortiori tout executable integrant des
primitives C de l'utilisateur, contient:

        1- du code machine pour le runtime + les primitives
           de l'utilisateur
        2- du bytecode pour le code ML

alors que les executables construits sans l'option "-custom"
contiennent seulement:


        1- un en-tete pour appeler le runtime partage
        2- du bytecode pour le code ML.

Le code machine pour le runtime est assez gros (de 50 a 200k, suivant
les architectures de machines), beaucoup plus que l'en-tete pour
appeler le runtime partage, ce qui explique pourquoi les executables
construits avec l'option "-custom" sont nettement plus gros.

- Xavier Leroy





                 reply	other threads:[~1992-10-13 20:04 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=9210131958.AA25408@pomerol.inria.fr \
    --to=xleroy@pomerol \
    --cc=caml-list@margaux \
    /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).