From: Damien Doligez <damien.doligez@inria.fr>
To: Kihong Heo <khheo@ropas.snu.ac.kr>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] out of memory error
Date: Mon, 8 Feb 2010 17:21:25 +0100 [thread overview]
Message-ID: <5CA6B9AC-5046-45DC-91EE-513408ADBAA6@inria.fr> (raw)
In-Reply-To: <183EEC97-A33D-4E84-81B1-B908BD998351@ropas.snu.ac.kr>
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
prev parent reply other threads:[~2010-02-08 16:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-02 13:31 Kihong Heo
2010-02-08 16:21 ` Damien Doligez [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5CA6B9AC-5046-45DC-91EE-513408ADBAA6@inria.fr \
--to=damien.doligez@inria.fr \
--cc=caml-list@inria.fr \
--cc=khheo@ropas.snu.ac.kr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox