From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: * X-Spam-Status: No, score=1.0 required=5.0 tests=AWL,SPF_NEUTRAL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by yquem.inria.fr (Postfix) with ESMTP id 94D34BB84 for ; Tue, 29 Jul 2008 11:37:06 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AogAAJuBjkhIDtyfjmdsb2JhbACSFEMBAQEBCQMKBw8FmA6FJQ X-IronPort-AV: E=Sophos;i="4.31,271,1215381600"; d="scan'208";a="15603514" Received: from fg-out-1718.google.com ([72.14.220.159]) by mail1-smtp-roc.national.inria.fr with ESMTP; 29 Jul 2008 11:37:06 +0200 Received: by fg-out-1718.google.com with SMTP id l27so4116780fgb.43 for ; Tue, 29 Jul 2008 02:37:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding:sender; bh=lc9tH9ZrQdxn4XuCo90FCFFmyRPFl0U1vttZRrkfatg=; b=Z3eSQXCg2Bnlt+/w6RptjjyimG/QEadPNhF/P4a2PvWgg+SEIngDK8NG3YU2q6/sRz iL8RHs4xGJkZ07srqGmX+cqUAjVVIVsYNTPZ7osPdgR9klT8alJdZ8e1F+Vu1OFx+Bhl 0K3vt0Wi4unZl12b/nRJM7LSlyLU5Xh+/UrFg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding :sender; b=jwd7ZQCWDL6wrkLOTYWVbjHPsCsG9mjoR0wb3OJA8PyZrau6GAUqPkykM2Iigroq7u 9GB08tEVZU+NjNyp5KHna0IWeLbt7SE+WP2vKCcXR3/3v0eGD9sOLiT/6ef/cpbojiQ8 xpUVXB3FbRiNH90KwGCP2LXGfeL6hwH2PUgkA= Received: by 10.86.29.8 with SMTP id c8mr3537363fgc.23.1217324226126; Tue, 29 Jul 2008 02:37:06 -0700 (PDT) Received: from pc-smp3.ensta.fr ( [128.93.20.74]) by mx.google.com with ESMTPS id e20sm11325944fga.1.2008.07.29.02.37.04 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 29 Jul 2008 02:37:05 -0700 (PDT) Message-ID: <488EE4BE.4020200@inria.fr> Date: Tue, 29 Jul 2008 11:37:02 +0200 From: Michel Mauny User-Agent: Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.8.1.6) Gecko/20070728 Thunderbird/2.0.0.6 Mnenhy/0.7.5.0 MIME-Version: 1.0 To: Raj Bandyopadhyay Cc: OCaml Subject: Re: [Caml-list] Array copying in OCaml References: <4888AE76.2030204@rice.edu> <666572260807241246m4ef1c4aclc6078db154d68c7a@mail.gmail.com> <488E0319.4060005@rice.edu> In-Reply-To: <488E0319.4060005@rice.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Sender: Michel Mauny X-Spam: no; 0.00; mauny:01 mauny:01 ocaml:01 toplevel:01 makefile:01 ocaml:01 cvs:01 compiler:01 stdlib:01 ocamlc:01 ocaml':01 compiler:01 beginner's:01 bug:01 ensta:01 Having a look at the comment "Hard bootstrap how-to" in the toplevel Makefile of the OCaml distribution may help. -- MM Raj Bandyopadhyay =E9crit/writes [07/28/2008 07:34 PM] : > Thanks Richard! >=20 > I added my C code to array.c (in the development version which I got=20 > from CVS), and added an external declaration in array.ml. However, I no= w=20 > get the following compiler error: >=20 > File "_none_", line 1, characters 0-1: > Error: Error while linking boot/stdlib.cma(Array): > The external function `caml_general_array_sub' is not available > make[1]: *** [ocamlc] Error 2 > make[1]: Leaving directory `/home/rajb/research/software/sources/ocaml'= > make: *** [world] Error 2 >=20 >=20 >=20 > Obviously this is because of incompatibility in the 'boot' version vs = > the current version of the compiler. How do I get around this? I have=20 > never worked on the OCaml compiler before, so I am definitely missing=20 > something. >=20 > Thanks > Raj >=20 > _______________________________________________ > Caml-list mailing list. Subscription management: > http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list > Archives: http://caml.inria.fr > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs >=20 --=20 Michel Mauny ENSTA (+33) 1 4552 5388 (ENSTA) (+33) 1 3963 5796 (INRIA)