caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Kamil Shakirov <kamils@inbox.ru>
To: "Dan Koppel" <dkoppel11@cox.net>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Question about linking C++ and OCAML
Date: Thu, 23 Oct 2003 03:25:42 +0400	[thread overview]
Message-ID: <m2smlkg8i1.fsf@tornado.force> (raw)
In-Reply-To: <001a01c398ce$f92348f0$a3fb6c44@Singularity> (Dan Koppel's message of "Wed, 22 Oct 2003 12:02:00 -0700")

Hello,
"Dan Koppel" <dkoppel11@cox.net> writes:

> Hello all, 
>
> I'm new to OCAML.  I have written C++ code which needs to call a
> OCAML subroutine (written by somebody else).  I'm using a Windows
> XP/Pentium 4 system and have the Microsoft Visual C++ compiler.  I
> was wondering if anybody has experience doing this and could kindly
> give me some instructions on how to accomplish this.

You may use the ODLL tool from the http://tech.motion-twin.com/

``ODLL is creating a Win32 DLL from an OCaml library, and
automatically generating the C stubs needed to interface the OCaml
code and the C code and the .H interface. Simply run ODLL with you
CMA/CMXA and one or several CMI interfaces and ODLL will do the job
for you.''

I hope it helps you.

> With much appreciation,
>   Dan Koppel
>   UCSB, Santa Barbara, California

-- 
Kamil Shakirov

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


      reply	other threads:[~2003-10-22 23:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-22 19:02 Dan Koppel
2003-10-22 23:25 ` Kamil Shakirov [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=m2smlkg8i1.fsf@tornado.force \
    --to=kamils@inbox.ru \
    --cc=caml-list@inria.fr \
    --cc=dkoppel11@cox.net \
    /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;
as well as URLs for NNTP newsgroup(s).