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: Eric Cooper <ecc@c...>
Subject: Re: [Caml-list] crosscompile problem
On Fri, Aug 26, 2005 at 02:00:42PM +0200, Enrico Weigelt wrote:
> it seems that crosscompiling ocaml is currently impossible. 
> The whole ./configure stuff heavily relies on running several 
> test programs checking target stuff (ie. sizeof()).
> Of course this cannot work on cross targets. 

I did this manually for powerpc and arm targets a while ago, but I
agree that it would be nice to automate it and have it merged into the
main build system.

You might want to look at the ScratchBox approach
( which uses an emulator like qemu to run
test programs on the target.

Eric Cooper             e c c @ c m u . e d u