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 LAA12762; Tue, 14 May 2002 11:00:05 +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 LAA12752 for ; Tue, 14 May 2002 11:00:04 +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 g4E8xxn26990; Tue, 14 May 2002 10:59:59 +0200 (MET DST) Received: (from xleroy@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id KAA12740; Tue, 14 May 2002 10:59:59 +0200 (MET DST) Date: Tue, 14 May 2002 10:59:59 +0200 From: Xavier Leroy To: Emmanuel Chailloux Cc: caml-list@inria.fr Subject: Re: [Caml-list] Using the O'Caml toplevel inside a C program Message-ID: <20020514105959.A12423@pauillac.inria.fr> References: <20020509185105.P1213@speakeasy.org> <98219074-641F-11D6-B61B-0050E4C56074@pps.jussieu.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <98219074-641F-11D6-B61B-0050E4C56074@pps.jussieu.fr>; from Emmanuel.Chailloux@pps.jussieu.fr on Fri, May 10, 2002 at 04:09:51PM +0200 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk > I try to use the O'Caml toplevel inside a C program but the result > does not run. That's a limitation of programs built with -output-obj: the symbol table information that is normally saved in bytecode executable files is not available in the C object file generated by -output-obj; consequently, neither dynamic loading via Dynlink nor the toplevel can work. It's not trivial to work around this issue, so I haven't addressed it yet. - 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