From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id D6624BB9A for ; Thu, 27 Oct 2005 16:12:28 +0200 (CEST) Received: from [127.0.0.1] (yquem.inria.fr [128.93.8.37]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id j9RECJAD007394; Thu, 27 Oct 2005 16:12:20 +0200 In-Reply-To: References: Mime-Version: 1.0 (Apple Message framework v734) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <5636A978-D095-489D-A20D-8E762F133240@inria.fr> Cc: caml-list@yquem.inria.fr Content-Transfer-Encoding: 7bit From: Damien Doligez Subject: Re: [Caml-list] The Bytecode Interpreter... Date: Thu, 27 Oct 2005 16:12:33 +0200 To: Jonathan Roewen X-Mailer: Apple Mail (2.734) X-Miltered: at concorde with ID 4360E043.001 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; damien:01 damien:01 caml-list:01 bytecode:01 bytecode:01 ocamlc:01 -output-obj:01 argv:01 argv:01 ...:98 26,:98 2005,:98 wrote:01 doligez:01 doligez:01 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.3 On Oct 26, 2005, at 11:56, Jonathan Roewen wrote: > The bytecode app is created using ocamlc -output-obj, and the .o file > is linked into my kernel. I then call caml_startup(argv), where argv = > { "" }. I don't know whether this is the source of your problems, but argv should end with a NULL: argv = { "", NULL } -- Damien