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=0.0 required=5.0 tests=none autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr 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 8EC70BC6B for ; Fri, 12 Oct 2007 13:15:55 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAJrzDkfAXQImh2dsb2JhbACOTQIBCAop X-IronPort-AV: E=Sophos;i="4.21,266,1188770400"; d="scan'208";a="2927695" Received: from discorde.inria.fr ([192.93.2.38]) by mail2-smtp-roc.national.inria.fr with ESMTP; 12 Oct 2007 13:15:55 +0200 Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l9CBFo8S029979 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=OK) for ; Fri, 12 Oct 2007 13:15:55 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao8CAEX0DkdZbpNL/2dsb2JhbAA X-IronPort-AV: E=Sophos;i="4.21,266,1188770400"; d="scan'208";a="17904376" Received: from v826.ncsrv.de ([89.110.147.75]) by mail4-smtp-sop.national.inria.fr with ESMTP; 12 Oct 2007 13:15:34 +0200 Received: from localhost (unknown [85.127.111.194]) by v826.ncsrv.de (Postfix) with ESMTP id E44D41F2E808E for ; Fri, 12 Oct 2007 13:15:28 +0200 (CEST) Date: Fri, 12 Oct 2007 13:17:30 +0000 From: Christoph Sieghart To: caml-list@inria.fr Subject: Adding new architecture to ocamlopt Message-ID: <20071012131730.GG12540@harlekin> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline User-Agent: Mutt/1.5.16 (2007-06-09) X-Miltered: at discorde with ID 470F5766.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; ocamlopt:01 ocamlopt:01 pointers:01 asmcomp:01 mailinglist:98 caml:02 archives:02 christoph:04 christoph:04 embedded:08 assumption:08 but:14 done:14 adding:15 adding:15 Hello! Is there any documentation for adding a new architecture to ocamlopt? I would like to do a crosscompiler from one of the existing architectures to an embedded microcontroller. I have searched the mailinglist archives and the documenation, but have not found anything. Any pointers are welcome? Is my assumption that the major codegeneration work is done by the code in $caml/asmcomp? best regards, Christoph