Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
From: Enrico Weigelt <weigelt@m...>
Subject: Re: [Caml-list] crosscompile problem
* David MENTRE <david.mentre@gmail.com> 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 --
---------------------------------------------------------------------