caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* Calling C++ from OCaml
@ 2010-02-15 16:32 Jean Yang
  2010-02-15 16:45 ` [Caml-list] " Roberto Bagnara
  0 siblings, 1 reply; 2+ messages in thread
From: Jean Yang @ 2010-02-15 16:32 UTC (permalink / raw)
  To: caml-list

[-- Attachment #1: Type: text/plain, Size: 505 bytes --]

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.

[-- Attachment #2: Type: text/html, Size: 633 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-02-15 16:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-15 16:32 Calling C++ from OCaml Jean Yang
2010-02-15 16:45 ` [Caml-list] " Roberto Bagnara

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).