caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Xavier Leroy <xleroy@pauillac.inria.fr>
To: Tore Lund <tl001@online.no>
Cc: caml-list@pauillac.inria.fr
Subject: Re: [Caml-list] Porting to EPOC
Date: Tue, 29 May 2001 14:00:45 +0200	[thread overview]
Message-ID: <20010529140045.A7610@pauillac.inria.fr> (raw)
In-Reply-To: <3B1366D0.8FAD3FEC@online.no>; from tl001@online.no on Tue, May 29, 2001 at 11:07:28AM +0200

[ Cross-compiling OCaml bytecode for a runtime system containing
  platform-specific external functions. ]

> I notice there is an undocumented compiler switch -use-prims <file>. 
> Maybe this would solve my problem if I knew the format of <file>?

Yes, -use-prims is exactly what you need.  The format is one C
function name per line, in the exact order in which they appear in the
table cprim[] in byterun/prims.c.  

Even easier: building the runtime system in byterun produces the file
byterun/primitives, which happens to have exactly the right format.  Whopee!

Have fun with Epoc,

- Xavier Leroy
-------------------
To unsubscribe, mail caml-list-request@inria.fr.  Archives: http://caml.inria.fr


  reply	other threads:[~2001-05-29 12:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-29  9:07 Tore Lund
2001-05-29 12:00 ` Xavier Leroy [this message]
2001-05-29 14:10   ` Tore Lund
2001-05-29 14:22     ` Alain Frisch
2001-05-29 14:59       ` Tore Lund

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=20010529140045.A7610@pauillac.inria.fr \
    --to=xleroy@pauillac.inria.fr \
    --cc=caml-list@pauillac.inria.fr \
    --cc=tl001@online.no \
    /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).