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 AAA31573; Wed, 5 Dec 2001 00:30:41 +0100 (MET) 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 AAA31750 for ; Wed, 5 Dec 2001 00:30:40 +0100 (MET) Received: from comtv.ru (mail.comtv.ru [217.10.32.4]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id fB4NUdn11402 for ; Wed, 5 Dec 2001 00:30:39 +0100 (MET) Received: from [10.2.64.72] (HELO oyster2) by comtv.ru (CommuniGate Pro SMTP 3.4.7) with ESMTP id 1549464; Wed, 05 Dec 2001 02:30:34 +0300 Date: Wed, 5 Dec 2001 02:27:40 +0300 (MSK) From: malc X-Sender: malc@oyster To: Vitaly Lugovsky cc: caml-list@inria.fr Subject: Re: [Caml-list] -ccopt -shared In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Tue, 4 Dec 2001, Vitaly Lugovsky wrote: > On Tue, 4 Dec 2001, Xavier Leroy wrote: > > > If you really want to create a shared library containing OCaml code > > and the OCaml runtime system, this can be done, but you need to use > > ocamlc -output-obj or ocamlopt -output-obj to package the OCaml code > > as a C object. > > And the resulting code will be PIC on x86 with a native compiler? Is it > already usefull? -ccopt -shared merely notifies ocaml driver to pass -shared to C driver. I think you are confusing issues here. -- mailto:malc@pulsesoft.com ------------------- Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr