[
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-15 (16:32) |
From: | Jean Yang <jeanyang@c...> |
Subject: | Calling C++ from OCaml |
Hello, I've been trying to call C++ from OCaml by using OCaml's external C interface to call C functions that call the mangled-name version of the C++ functions. I've been running into trouble because I'm not sure how to specify the C++ object files to link against with ocamlc. (I'm not sure how to do it using ocaml-make.) Can anyone help? Also, is this the best way to call from OCaml to C++? Thanks, Jean -- Jean Yang http://people.csail.mit.edu/jeanyang Save us! Think before you print.