Version française
Home     About     Download     Resources     Contact us    
Browse thread
Array copying in OCaml
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Michel Mauny <Michel.Mauny@i...>
Subject: Re: [Caml-list] Array copying in OCaml
Having a look at the comment "Hard bootstrap how-to" in the toplevel
Makefile of the OCaml distribution may help.

-- MM

Raj Bandyopadhyay écrit/writes [07/28/2008 07:34 PM] :
> 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
> 
> _______________________________________________
> Caml-list mailing list. Subscription management:
> http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
> Archives: http://caml.inria.fr
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs
> 

-- 
Michel Mauny

ENSTA
(+33) 1 4552 5388 (ENSTA)
(+33) 1 3963 5796 (INRIA)