Browse thread
Array copying in OCaml
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Raj Bandyopadhyay <rajb@r...> |
| Subject: | Re: [Caml-list] Array copying in OCaml |
Thanks Richard! I added my C code to array.c (in the development version which I got from CVS), and added an external declaration in array.ml. However, I now get the following compiler error: File "_none_", line 1, characters 0-1: Error: Error while linking boot/stdlib.cma(Array): The external function `caml_general_array_sub' is not available make[1]: *** [ocamlc] Error 2 make[1]: Leaving directory `/home/rajb/research/software/sources/ocaml' make: *** [world] Error 2 Obviously this is because of incompatibility in the 'boot' version vs the current version of the compiler. How do I get around this? I have never worked on the OCaml compiler before, so I am definitely missing something. Thanks Raj