From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id SAA10021; Sat, 21 Sep 2002 18:52:11 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id SAA09726 for ; Sat, 21 Sep 2002 18:52:08 +0200 (MET DST) Received: from holmes.infopro.spb.su (holmes.infopro.spb.su [195.242.2.2]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g8LGq7528204 for ; Sat, 21 Sep 2002 18:52:07 +0200 (MET DST) Received: from stapleton.peterlink.ru (stapleton.peterlink.ru [195.242.2.5]) by holmes.infopro.spb.su (8.9.1/8.9.1) with ESMTP id UAA02663 for ; Sat, 21 Sep 2002 20:52:01 +0400 (MSD) Received: from spb-2-230.dialup.peterlink.ru (IDENT:mitya@spb-2-230.dialup.peterlink.ru [195.242.17.230]) by stapleton.peterlink.ru (8.12.3/8.12.3) with ESMTP id g8LGpaQT043681 for ; Sat, 21 Sep 2002 20:51:41 +0400 (MSD) Subject: [Caml-list] Shared libraries again From: Dmitry Lomov To: caml-list@inria.fr Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.3 Date: 21 Sep 2002 20:54:18 +0400 Message-Id: <1032627264.19770.9.camel@eddie> Mime-Version: 1.0 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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