English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
crosscompile problem
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-08-26 (12:33)
From: Enrico Weigelt <weigelt@m...>
Subject: Re: [Caml-list] crosscompile problem
* David MENTRE <david.mentre@gmail.com> wrote:


> 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...

 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 --