* [Caml-list] Question about linking C++ and OCAML
@ 2003-10-22 19:02 Dan Koppel
2003-10-22 23:25 ` Kamil Shakirov
0 siblings, 1 reply; 2+ messages in thread
From: Dan Koppel @ 2003-10-22 19:02 UTC (permalink / raw)
To: caml-list
[-- Attachment #1: Type: text/plain, Size: 408 bytes --]
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.
With much appreciation,
Dan Koppel
UCSB, Santa Barbara, California
[-- Attachment #2: Type: text/html, Size: 977 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Caml-list] Question about linking C++ and OCAML
2003-10-22 19:02 [Caml-list] Question about linking C++ and OCAML Dan Koppel
@ 2003-10-22 23:25 ` Kamil Shakirov
0 siblings, 0 replies; 2+ messages in thread
From: Kamil Shakirov @ 2003-10-22 23:25 UTC (permalink / raw)
To: Dan Koppel; +Cc: caml-list
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-10-22 23:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-22 19:02 [Caml-list] Question about linking C++ and OCAML Dan Koppel
2003-10-22 23:25 ` Kamil Shakirov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox