From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id QAA26489; Wed, 5 May 2004 16:34:08 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id QAA26249 for ; Wed, 5 May 2004 16:34:06 +0200 (MET DST) Received: from gatekeeper.elmer.external.excelhustler.com (gatekeeper.excelhustler.com [68.99.114.105]) by concorde.inria.fr (8.12.10/8.12.10) with ESMTP id i45EY5SH026824 for ; Wed, 5 May 2004 16:34:06 +0200 Received: from chatterbox.elmer.internal.excelhustler.com (unknown [192.168.0.12]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (Client CN "chatterbox.elmer.internal.excelhustler.com", Issuer "excelhustler.com" (not verified)) by gatekeeper.elmer.external.excelhustler.com (Postfix) with ESMTP id CB1B0E00E9; Wed, 5 May 2004 09:34:04 -0500 (CDT) Received: from localhost (localhost [127.0.0.1]) by chatterbox.elmer.internal.excelhustler.com (Postfix) with ESMTP id 962A45C005; Wed, 5 May 2004 09:34:04 -0500 (CDT) Received: from wile.internal.excelhustler.com (wile.internal.excelhustler.com [192.168.1.34]) by chatterbox.elmer.internal.excelhustler.com (Postfix) with ESMTP id 7EBBB5C004; Wed, 5 May 2004 09:34:04 -0500 (CDT) Received: by wile.internal.excelhustler.com (Postfix, from userid 1000) id 7716FD059; Wed, 5 May 2004 09:34:04 -0500 (CDT) Date: Wed, 5 May 2004 09:34:04 -0500 From: John Goerzen To: caml-list@inria.fr Subject: [Caml-list] ocamlopt cross-compiler Message-ID: <20040505143404.GA4521@excelhustler.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.5.1+cvs20040105i X-Scanned-By: clamscan at chatterbox.elmer.internal.excelhustler.com X-Miltered: at concorde with ID 4098FB5D.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; ocamlopt:01 ocamlopt:01 beast:01 powerpc:01 386,:01 pcre:01 statically:01 compiler:01 compiler:01 ocaml:01 face:98 unix:02 executable:03 somewhere:04 seems:05 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hello, I am working with StrongARM-based Linux PDAs such as the Sharp Zaurus and the iPAQ (when re-flashed to run Linux). One thing that would be very nice is an ocamlopt that can be a cross-compiler, generating StrongARM code. I notice that one person has posted such a beast online, but it seems that there is not much support within the OCaml build system for this. Can anyone confirm, or perhaps direct me to a "build your own ocamlopt cross-compiler" tutorial somewhere? (The post I found online appears to be an i386-hosted compiler that generates ARM code; as my development platforms include alpha, powerpc, i386, and amd64, I need to be able to build the compiler myself.) What issues might I face should I choose to use libraries such as unix, str, or third-party ones like pcre? Will I be able to statically link those into an arm executable somehow? Thanks, John ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners