From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by sympa.inria.fr (Postfix) with ESMTPS id 897477ED25 for ; Fri, 19 Jul 2013 17:49:17 +0200 (CEST) Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of rixed@happyleptic.org) identity=pra; client-ip=5.135.156.187; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="rixed@happyleptic.org"; x-sender="rixed@happyleptic.org"; x-conformance=sidf_compatible Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of rixed@happyleptic.org) identity=mailfrom; client-ip=5.135.156.187; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="rixed@happyleptic.org"; x-sender="rixed@happyleptic.org"; x-conformance=sidf_compatible Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@pim.happyleptic.org) identity=helo; client-ip=5.135.156.187; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="rixed@happyleptic.org"; x-sender="postmaster@pim.happyleptic.org"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AmgGAI1f6VEFh5y7/2dsb2JhbABbgwZuwXAWdIJlezQFKBWIM5ZKoEuQLIJ6bgOXXAGRTYMU X-IPAS-Result: AmgGAI1f6VEFh5y7/2dsb2JhbABbgwZuwXAWdIJlezQFKBWIM5ZKoEuQLIJ6bgOXXAGRTYMU X-IronPort-AV: E=Sophos;i="4.89,702,1367964000"; d="scan'208";a="21717031" Received: from pim.happyleptic.org ([5.135.156.187]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES128-SHA; 19 Jul 2013 17:49:17 +0200 Received: from rixed.happyleptic.org ([82.67.194.89] helo=dell.happyleptic.org) by pim.happyleptic.org with esmtp (Exim 4.80) (envelope-from ) id 1V0Cvj-0001UJ-Eq for caml-list@inria.fr; Fri, 19 Jul 2013 17:49:15 +0200 Received: from rixed by dell.happyleptic.org with local (Exim 4.80) (envelope-from ) id 1V0Cve-0007t1-07 for caml-list@inria.fr; Fri, 19 Jul 2013 17:49:10 +0200 Date: Fri, 19 Jul 2013 17:49:09 +0200 From: rixed@happyleptic.org To: caml-list@inria.fr Message-ID: <20130719154909.GA29399@dell.happyleptic.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Subject: [Caml-list] compiling custom runtime On trunk compiler, I'm trying to add a function to the runtime but cannot get the ocaml to compile. make world stops on: boot/ocamlrun boot/ocamlc -nostdlib -I boot -compat-32 -o ocamlc \ compilerlibs/ocamlcommon.cma compilerlibs/ocamlbytecomp.cma driver/main.cmo File "_none_", line 1: Error: Error while linking boot/stdlib.cma(Array): The external function `caml_create_vect' is not available (caml_create_vect being the name of the function I added). I tried to make ocamlrun in byterun and copy it in boot but it didn't solve the problem. How to bootstrap the compiler with a new function? Shouldn't this be documented in the README?