Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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


> Some people have already tackled this issue:

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:
  fax:       +49 36207 519932         email:
  cellphone: +49 174 7066481
 -- DSL ab 0 Euro. -- statische IP -- UUCP -- Hosting -- Webshops --