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 Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 6F137BC0B for ; Thu, 25 Jan 2007 21:46:09 +0100 (CET) Received: from echo.securenet-server.net (echo.securenet-server.net [207.210.72.250]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id l0PKkBLI014753 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 25 Jan 2007 21:46:12 +0100 Received: from 207-114-255-242.static.twtelecom.net ([207.114.255.242] helo=[10.10.11.184]) by echo.securenet-server.net with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.63) (envelope-from ) id 1HABU0-0006Et-8f for caml-list@yquem.inria.fr; Thu, 25 Jan 2007 15:46:08 -0500 Mime-Version: 1.0 (Apple Message framework v752.3) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: caml-list@yquem.inria.fr From: Matt Brandt Subject: Cross compiling OCaml Date: Thu, 25 Jan 2007 14:45:12 -0600 X-Mailer: Apple Mail (2.752.3) X-PopBeforeSMTPSenders: mbrandt X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - echo.securenet-server.net X-AntiAbuse: Original Domain - yquem.inria.fr X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - walkingdog.net X-Source: X-Source-Args: X-Source-Dir: X-Miltered: at concorde with ID 45B91713.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; ocaml:01 compiler:01 ocaml:01 config:01 makefile:01 config:01 compiler:01 gcc:01 compilers:01 compiling:02 modify:05 generated:05 generated:05 installed:05 linux:06 I've searched for how to set up a cross compiler for OCaml and came across an old message on this list that suggested I could modify the generated config/Makefile and a couple of source files. Trying this I am running into a number of problems because a lot of the other config generated files still have configuration for the host, not the target. I can slog through and probably get something working eventually, but I'm not sure I would have a high confidence in the finished product due to my unfamiliarity with the compiler in general. Before I go through this exercise I thought it would be worth asking if anyone here has done this more recently (the other message was Mar 99). Specifically I'm trying to generate powerpc-603-linux-elf from an x86- linux box. I have the gcc cross compilers installed and working. Thanks in advance. Matt