From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 7BBA9BB81 for ; Thu, 12 Jan 2006 04:09:10 +0100 (CET) Received: from ux9.sp.cs.cmu.edu (UX9.SP.CS.CMU.EDU [128.2.220.166]) by concorde.inria.fr (8.13.0/8.13.0) with SMTP id k0C399Wg001311 for ; Thu, 12 Jan 2006 04:09:10 +0100 Received: from c-24-3-154-200.hsd1.pa.comcast.net ([24.3.154.200]) by ux9.sp.cs.cmu.edu id aa19885; 11 Jan 2006 22:08 EST Received: from ecc by stratocaster.home with local (Exim 4.60) (envelope-from ) id 1Ewsp6-0006Kz-J8 for caml-list@yquem.inria.fr; Wed, 11 Jan 2006 22:08:24 -0500 Date: Wed, 11 Jan 2006 22:08:24 -0500 To: caml-list@yquem.inria.fr Subject: Re: [Caml-list] Crosscompiling for mipsel cpu's ? Message-ID: <20060112030824.GA24329@localhost> Mail-Followup-To: caml-list@yquem.inria.fr References: <0601111832445900@mail2.icu.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0601111832445900@mail2.icu.de> User-Agent: Mutt/1.5.11 From: Eric Cooper X-Miltered: at concorde with ID 43C5C855.001 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 ocaml:01 powerpc:01 ocaml:01 posts:01 powerpc:01 compilers:01 mips:01 off-list:01 wrote:01 hacks:01 dynamically:01 compiling:02 tutorials:03 probably:05 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=none autolearn=disabled version=3.0.3 On Wed, Jan 11, 2006 at 06:32:46PM +0100, steve@wgco.de wrote: > I'm trying to port an Ocaml program to a mipsel platform. > > I searched the internet for tutorials but the only thing I found was > a patch for arm and powerpc. > > Can anyone give me some information / help to build Ocaml for cross > compiling to mipsel? You probably found my posts about the arm and powerpc cross compilers. Basically, it involves hard-coding the architectural features that are normally discovered dynamically by the configure script, plus a few other hacks. I would probably start with the arm version and adapt it for mips. You can contact me off-list if you try this and need help. -- Eric Cooper e c c @ c m u . e d u