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 OAA26807; Thu, 8 Aug 2002 14:33:36 +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 OAA26617 for ; Thu, 8 Aug 2002 14:33:35 +0200 (MET DST) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g78CXXj13888; Thu, 8 Aug 2002 14:33:33 +0200 (MET DST) Received: (from xleroy@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id OAA26790; Thu, 8 Aug 2002 14:33:33 +0200 (MET DST) Date: Thu, 8 Aug 2002 14:33:33 +0200 From: Xavier Leroy To: Ohad Rodeh Cc: caml-list@inria.fr Subject: Re: [Caml-list] Packaging a caml library a DLL Message-ID: <20020808143333.A25522@pauillac.inria.fr> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from ORODEH@il.ibm.com on Wed, Aug 07, 2002 at 05:12:02PM +0300 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk > I'm having a lot of trouble packaging a caml library (Ensemble) as a > DLL on win32. Creating a win32 static library is easy, shared libraries on > Unix are a breeze, however, win32 DLLs are really problematic. > Has anybody been able to do this? any example makefiles? CamlIDL contains a shell script that does just this in order to package Caml code as a COM DLL. You can view the script here: http://camlcvs.inria.fr/cgi-bin/cvsweb.cgi/bazar-ocaml/camlidl/tools/camlidldll.tpl The script contains some COM-specific stuff, but not much. Hope this helps, - Xavier Leroy ------------------- 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