Reputation: 1028
I checkout the latest OCaml source code and try to build on my OS X 10.10 machine with gcc 4.9.2. I use the following command as suggested here.
$ ./configure && make world
Build gets no error but when I tried the compiler I just build by doing $ ./ocamlc
, I get the following error:
Fatal error: unknown C primitive `caml_add_debug_info'
Upvotes: 1
Views: 584
Reputation: 66818
I believe this happens when you use the old bytecode interpreter to run the new compiler. Make sure you're using the new bytecode interpreter (ocamlrun
).
Upvotes: 1