From: Pascal Cuoq <Pascal.CUOQ@cea.fr>
To: caml-list@inria.fr
Subject: bootstrapping OCaml after changing the runtime
Date: Mon, 25 Aug 2008 11:35:40 +0200 [thread overview]
Message-ID: <404EA822-F238-49EF-8363-69C35F44788F@cea.fr> (raw)
[-- Attachment #1: Type: text/plain, Size: 933 bytes --]
Hi all,
there was a thread earlier this summer on the topic of the bootstrap:
http://groups.google.com/group/fa.caml/browse_thread/thread/a39e6699f0c5043d
I should add a tidbit of information that took me a while
to figure out to the information there. The information from
the thread is:
"look at the comment 'Hard bootstrap how-to' in the toplevel
Makefile of the OCaml [CVS] distribution"
The additional tidbit is:
if you are trying to add a new primitive, try splitting the patch
in two parts, the part that contains the C primitive (the
"CAMLprim ..." in a .c file) and the part that makes it visible
from caml (the "external ..." in an .ml file). Apply the first patch
only first, bootstrap, apply the second one and bootstrap again.
I did not see this information explicitly documented anywhere,
but it was implicitly contained in the following web page:
http://www.pps.jussieu.fr/~henry/marshal/index.en.html
Pascal
[-- Attachment #2: Type: text/html, Size: 3534 bytes --]
reply other threads:[~2008-08-25 9:35 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=404EA822-F238-49EF-8363-69C35F44788F@cea.fr \
--to=pascal.cuoq@cea.fr \
--cc=caml-list@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