From: rixed@happyleptic.org
To: caml-list@inria.fr
Subject: [Caml-list] compiling custom runtime
Date: Fri, 19 Jul 2013 17:49:09 +0200 [thread overview]
Message-ID: <20130719154909.GA29399@dell.happyleptic.org> (raw)
On trunk compiler, I'm trying to add a function to the runtime
but cannot get the ocaml to compile. make world stops on:
boot/ocamlrun boot/ocamlc -nostdlib -I boot -compat-32 -o ocamlc \
compilerlibs/ocamlcommon.cma compilerlibs/ocamlbytecomp.cma driver/main.cmo
File "_none_", line 1:
Error: Error while linking boot/stdlib.cma(Array):
The external function `caml_create_vect' is not available
(caml_create_vect being the name of the function I added).
I tried to make ocamlrun in byterun and copy it in boot but it didn't
solve the problem.
How to bootstrap the compiler with a new function?
Shouldn't this be documented in the README?
next reply other threads:[~2013-07-19 15:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-19 15:49 rixed [this message]
2013-07-20 11:36 ` rixed
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=20130719154909.GA29399@dell.happyleptic.org \
--to=rixed@happyleptic.org \
--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