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 LAA02122; Mon, 18 Aug 2003 11:21:28 +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 LAA09480 for ; Mon, 18 Aug 2003 11:21:26 +0200 (MET DST) Received: from aomori.annexia.org (annexia.force9.co.uk [212.56.101.183]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h7I9LQf23272 for ; Mon, 18 Aug 2003 11:21:26 +0200 (MET DST) Received: from rich by aomori.annexia.org with local (Exim 3.36 #1 (Debian)) id 19ogCb-00011D-00 for ; Mon, 18 Aug 2003 10:21:25 +0100 Date: Mon, 18 Aug 2003 10:21:25 +0100 To: caml-list@inria.fr Subject: [Caml-list] ocamlc -pack and ocamlopt -pack produce different cmi files! Message-ID: <20030818092125.GA3907@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.4i From: Richard Jones X-Loop: caml-list@inria.fr X-Spam: no; 0.00; ocamlc:01 -pack:01 ocamlopt:01 model:01 cmx:01 digests:01 digest:01 freshmeat:01 vectors:01 hashes:01 funcs:01 allocator:01 bin:01 ltd:98 cmo:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk I have some (inherited) code which has a build script doing this: ocamlc -pack -g -o bin/c/simlib.cmo -I $SUB/zkit -I $SUB/model -I $SUB/cjs2 $FILESLIB $FILESMODEL $FILESCJS2 ocamlopt -pack -o bin/opt/simlib.cmx -I $SUB/zkit -I $SUB/model -I $SUB/cjs2 $FILESLIB $FILESMODEL $FILESCJS2 It turns out that the two simlib.cmi files built by these two steps have different MD5 digests. Why is this, and is there some way to ensure they have the same digest? Rich. -- Richard Jones. http://www.annexia.org/ http://freshmeat.net/users/rwmj Merjis Ltd. http://www.merjis.com/ - all your business data are belong to you. C2LIB is a library of basic Perl/STL-like types for C. Vectors, hashes, trees, string funcs, pool allocator: http://www.annexia.org/freeware/c2lib/ ------------------- 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