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 TAA11606; Tue, 22 May 2001 19:15:37 +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 TAA11592 for ; Tue, 22 May 2001 19:15:36 +0200 (MET DST) Received: from relay.rinet.ru (relay.rinet.ru [195.54.192.35]) by concorde.inria.fr (8.11.1/8.10.0) with ESMTP id f4MHFYn18926 for ; Tue, 22 May 2001 19:15:35 +0200 (MET DST) Received: (from uucp@localhost) by relay.rinet.ru (8.9.3/8.9.3) with UUCP id VAA16280 for caml-list@inria.fr; Tue, 22 May 2001 21:15:17 +0400 (MSD) X-Envelope-To: caml-list@inria.fr Received: from dialin1.stormoff (DIMA) [192.168.0.129] by stormoff with esmtp (Exim 2.05 #1 (Debian)) id 152FcI-0001Ek-00; Tue, 22 May 2001 21:06:42 +0400 X-Comment-To: Dmitry Bely To: caml-list@inria.fr Subject: Re: [Caml-list] ocamlopt and Windows DLL References: From: Dmitry Bely Date: 22 May 2001 21:10:26 +0400 In-Reply-To: Message-ID: User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Crater Lake) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Dmitry Bely writes: > I am trying to build COM component written in ocaml using ocamlopt > compiler. To achive that I have slightly modified camlidldll script from > camlidl distribution. Now it builds DLL without a problem, but resulting > DLL never executes "let _ = ..." (_*_entry) constructs! After a short > investigation I have found the following code that seems to be causing the > problem: [...] I've found out finally that it was just my fault (missed .cmx when building caml-obj), so where is no problem with using ocamlopt for creating Windows DLL. Sorry for wasting your time :-) Hope to hear from you soon, Dmitry ------------------- To unsubscribe, mail caml-list-request@inria.fr. Archives: http://caml.inria.fr