Saturday, December 6, 2008

Fixing OCaml ocamlopt for Mac

Posted to the caml-list my findings about caml_atom_table bug from 2005 on Mac OSX, still not fixed, fixable by = NULL in asmrun/startup.c:

char * caml_code_area_start, * caml_code_area_end = NULL;

Found that compiling SRILM without Tcl, by inserting NO_TCL=yes in Makefile.machine.macosx, solves the problem of tcl main/app_init. Has to pepper the Ldir -llib with -cclib when passing to ocamlopt, removed old ocaml 3.10 and compiled 3.11 form source, with findlib and pcre.

No comments: