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 87087BB81 for ; Thu, 12 Jan 2006 04:27:55 +0100 (CET) Received: from pd4mo1so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id k0C3Rs0W003194 for ; Thu, 12 Jan 2006 04:27:55 +0100 Received: from pd3mr8so.prod.shaw.ca (pd3mr8so-qfe3.prod.shaw.ca [10.0.141.24]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0ISY004ZPMWLZ1E0@l-daemon> for caml-list@yquem.inria.fr; Wed, 11 Jan 2006 20:26:46 -0700 (MST) Received: from pn2ml3so.prod.shaw.ca ([10.0.121.147]) by pd3mr8so.prod.shaw.ca (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0ISY001DAMWLT6F0@pd3mr8so.prod.shaw.ca> for caml-list@yquem.inria.fr; Wed, 11 Jan 2006 20:26:45 -0700 (MST) Received: from glek.net ([24.108.230.73]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0ISY00G99MWLU811@l-daemon> for caml-list@yquem.inria.fr; Wed, 11 Jan 2006 20:26:45 -0700 (MST) Received: from [127.0.0.1] (daemon [192.168.0.2]) by glek.net (Postfix) with ESMTP id E69BF4AFABA for ; Wed, 11 Jan 2006 19:26:44 -0800 (PST) Date: Thu, 12 Jan 2006 03:26:36 +0000 From: Taras Glek Subject: Re: [Caml-list] Crosscompiling for mipsel cpu's ? In-reply-to: <0601111832445900@mail2.icu.de> To: caml-list@yquem.inria.fr Message-id: <43C5CC6C.5070805@shaw.ca> MIME-version: 1.0 Content-type: text/plain; charset=windows-1252; format=flowed Content-transfer-encoding: 8BIT X-Accept-Language: en-us, en References: <0601111832445900@mail2.icu.de> User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051010) X-Miltered: at concorde with ID 43C5CCBA.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 ocaml:01 ocaml:01 compiler:01 byterun:01 bytecc:01 runtime:01 sml:01 powerpc:01 caml-list:01 beginner's:01 beginners:01 bug:01 unix:01 wrote:01 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=FORGED_RCVD_HELO autolearn=disabled version=3.0.3 Hi Steve, I run an ocaml program on my mipsel wrt54gs router. OCaml was not setup for crosscompiling, but it was quite easy to crosscompile the interpreter. Just configure ocaml normally(using the host compiler), then go to byterun directory and do "make BYTECC=gcc-mipsel-blabla". The harder part was compiling the Unix library, but I did succeed. Now I have an ocaml runtime on my wireless router taking up just over 500K including my application. Just try doing that in Java or even SML. Taras steve@wgco.de wrote: > Hi, > > 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? > > Best regards > > Steve > >------------------------------------------------------------------------ > >_______________________________________________ >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 > >