From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by yquem.inria.fr (Postfix) with ESMTP id 66357BBAF for ; Mon, 18 Jan 2010 15:31:24 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AokBAOv/U0uBWB4RhWdsb2JhbACcAAEBAQoLCgUVuR6EMwQ X-IronPort-AV: E=Sophos;i="4.49,296,1262559600"; d="scan'208";a="41672803" Received: from mx2.imag.fr (HELO rominette.imag.fr) ([129.88.30.17]) by mail2-smtp-roc.national.inria.fr with ESMTP; 18 Jan 2010 15:31:24 +0100 Received: from manolette.imag.fr (manolette.imag.fr [129.88.34.201]) by rominette.imag.fr (8.13.8/8.13.8) with ESMTP id o0IEUhuv012065 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 18 Jan 2010 15:30:43 +0100 Received: from [192.168.0.6] (AGrenoble-152-1-71-84.w86-193.abo.wanadoo.fr [86.193.126.84]) by manolette.imag.fr (8.13.8/8.13.8) with ESMTP id o0IEVpRT009823 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 18 Jan 2010 15:31:54 +0100 Message-ID: <4B5470B4.3040201@imag.fr> Date: Mon, 18 Jan 2010 15:31:16 +0100 From: michel levy User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: caml-list@inria.fr Subject: Compatibility 3.11.1 and 3.09.3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2 (rominette.imag.fr [129.88.30.17]); Mon, 18 Jan 2010 15:30:43 +0100 (CET) X-IMAG-MailScanner-Information: Please contact MI2S MIM for more information X-MailScanner-ID: o0IEUhuv012065 X-IMAG-MailScanner: Found to be clean X-IMAG-MailScanner-SpamCheck: X-IMAG-MailScanner-From: michel.levy@imag.fr MailScanner-NULL-Check: 1264429845.21851@BevxcqknlJM3PgPbGCEfeA X-Spam: no; 0.00; byte-code:01 ocamlc:01 ocamlrun:01 compiler:01 byte-code:01 ocamlrun:01 ocaml:01 byte:01 ocaml:01 compile:01 michel:01 michel:01 imag:02 imag:02 cedex:02 I have byte-code produced by ocamlc version 3.11.1 which does not work with ocamlrun version 3.09.3. Is this situation normal ? Must I have exactly the same version for the compiler producing the byte-code and the ocamlrun executing this code ? Sincerely yours. PS : this problem occurs to me because I compile on my machine (ocaml 3.11.1) and I send the byte code to a web server with an other version (ocaml 3.09.3) and I am not in charge of this server. -- Michel Levy LIG, ENSIMAG D105, 681 rue de la passerelle, Domaine Universitaire, BP72-38402 Saint Martin d'Hères Cedex Tel:(33)476827246 e.mail : Michel.Levy@imag.fr http://membres-liglab.imag.fr/michel.levy