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 6A5B6BDEE for ; Fri, 26 Aug 2005 14:33:41 +0200 (CEST) Received: from metux.de (seven.metux.de [193.16.1.1]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id j7QCXe46012392 for ; Fri, 26 Aug 2005 14:33:40 +0200 Received: (from weigelt@localhost) by metux.de (8.12.10/8.12.10) id j7QCXdMN029807 for caml-list@yquem.inria.fr; Fri, 26 Aug 2005 14:33:39 +0200 Date: Fri, 26 Aug 2005 14:33:39 +0200 From: Enrico Weigelt To: caml-list@yquem.inria.fr Subject: Re: [Caml-list] crosscompile problem Message-ID: <20050826123339.GB9061@nibiru.local> Reply-To: weigelt@metux.de References: <20050826120042.GA9061@nibiru.local> <3d13dcfc05082605185e153aea@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3d13dcfc05082605185e153aea@mail.gmail.com> User-Agent: Mutt/1.4.1i X-Miltered: at concorde with ID 430F0C24.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 tackled:01 sardes:01 inrialpes:01 aschmitt:01 ocaml:01 hardcoded:01 trivial:01 ...:98 ...:98 cellphone:98 wrote:01 suited:01 defined:01 rewritten:02 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 * David MENTRE wrote: hi, > Some people have already tackled this issue: > http://sardes.inrialpes.fr/~aschmitt/cwn/2004.09.28.html#3 Isn't really helpful, since its more or less a hack for getting ocaml compiled on his individual arm-compiler, with all hardcoded pathes, etc. I have to pass the toolchain commands by environment variables and entirely work with an sysroot'ed build. Such fixes for some really specific target are quite trivial, but being really cross-platform, also with crosscompiling, is a little bit more compilicated. The commonly used buildsystems are not really suited for that. I've now moved some more steps on my external buildconf database: Defined some common variables (ie. endianess, type sizes, ...) and rewritten ./configure to query the db instead of trying to guess these things by itself. I'll send some patches soon... cu -- --------------------------------------------------------------------- Enrico Weigelt == metux IT service phone: +49 36207 519931 www: http://www.metux.de/ fax: +49 36207 519932 email: contact@metux.de cellphone: +49 174 7066481 --------------------------------------------------------------------- -- DSL ab 0 Euro. -- statische IP -- UUCP -- Hosting -- Webshops -- ---------------------------------------------------------------------