Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Shared libraries again
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Dmitry Lomov <dsl@i...>
Subject: [Caml-list] Shared libraries again
Hi,
is it possible build a shared C library which calls Caml code? It is OK
if shared library uses Caml runtime statically. I do not need to 
call Caml runtime from different shared libraries - only from one,
and it is OK for me if Caml values will be invalid outside shared
library. That is, my shared library wholly controls Caml runtime
startup.
For some reason ocamlmklib does not work for me - when I try to load
library created by it,  various caml_* references cannot be unresolved.

I am on Linux, i386.

Thanks in advance,
Dmitry

-- 
Dmitry Lomov
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

-------------------
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