[
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: | 2010-02-08 (16:21) |
From: | Damien Doligez <damien.doligez@i...> |
Subject: | Re: [Caml-list] out of memory error |
Hello, On 2010-02-02, at 14:31, Kihong Heo wrote: > Can't I use "ocamlrun -v" for my program such that it use foreign > language interface with C. > If I couldn't, can you give me a good debugging methodology? > It's very difficult to find out that error because of using foreign > language interface.. The OCaml runtime options are controlled by an environment variable: OCAMLRUNPARAM. You can set this variable with "setenv" or "export" (depending on your shell) before running your program. You do not need to call ocamlrun explicitely with command-line arguments. This feature is documented here: http://caml.inria.fr/pub/docs/manual-ocaml/manual024.html#toc88 HTH, -- Damien