caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] compiling custom runtime
@ 2013-07-19 15:49 rixed
  2013-07-20 11:36 ` rixed
  0 siblings, 1 reply; 2+ messages in thread
From: rixed @ 2013-07-19 15:49 UTC (permalink / raw)
  To: caml-list

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?


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-07-20 11:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-19 15:49 [Caml-list] compiling custom runtime rixed
2013-07-20 11:36 ` rixed

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).