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
[Caml-list] cross compilation
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Xavier Leroy <xavier.leroy@i...>
Subject: Re: [Caml-list] cross compilation
> Is there any support for cross-compilation for the native code compiler?  
> Interpretation simply won't cut it for the application I'm working with.
> The native code compiler can generate code for many different
> architectures, and it appears that most of the codegen is written in
> O'Caml itself.  gcc has support for cross-compilation/linking.  Putting
> these together, virtually all of the work has been done.  Is there
> anything to it other than properly structuring the configuration and 
> build?

I believe "properly structuring the configuration and build" should
suffice to get ocamlopt to cross-compile, however this is probably not

Christian Gillot did a cross-compiler for the ARM, see
but he didn't detail the build process...

- Xavier Leroy

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: