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 nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id 2F4AEBB9A for ; Mon, 14 Nov 2005 23:36:41 +0100 (CET) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.203]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id jAEMaeSM015891 for ; Mon, 14 Nov 2005 23:36:40 +0100 Received: by zproxy.gmail.com with SMTP id x3so1463903nzd for ; Mon, 14 Nov 2005 14:36:40 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=DNDpvmskCj8iYW0dY17GVfF+OIGfD6Ey8zAR0zNP9weXnKsB32uI9NTSxiMJfcVuJMQ+HHrYFySD/Z3x7HYxEjUAW9Gu7hQYD0Q1LluaFmvegnCfyvNRebs3SiBZ7gLG+k/Pk5my1d7HjCjzR06CXoEGKeEUkhIAYcENOnZ5otg= Received: by 10.65.197.18 with SMTP id z18mr2921372qbp; Mon, 14 Nov 2005 14:36:39 -0800 (PST) Received: by 10.64.10.5 with HTTP; Mon, 14 Nov 2005 14:36:39 -0800 (PST) Message-ID: Date: Tue, 15 Nov 2005 11:36:39 +1300 From: Jonathan Roewen Subject: Re: [Caml-list] Building a custom compiler environment Cc: caml-list@yquem.inria.fr In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <1131880149.31023.25.camel@gate.lan.gerd-stolpmann.de> X-Miltered: at nez-perce with ID 43791178.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 compiler:01 compiler:01 -output-obj:01 dynlink:01 customised:01 ocamlc:01 primitives:02 primitives:02 output:02 seems:03 explanation:03 correctly:04 symbols:08 file:08 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=RCVD_BY_IP autolearn=disabled version=3.0.3 I also need to ask: why are the primitives built INTO the compiler? Is there any sound explanation for this? One reason I could think of is to force the linker to keep those symbols in the final output file (when using -output-obj). But if they're not used, then why do they need to be present? For Dynlink to work correctly? This seems to be the -one- thing to make building my custom compiler environment not work without requiring a customised ocamlc (with less primitives builtin). Jonathan