Version française
Home     About     Download     Resources     Contact us    
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
trivial.

Christian Gillot did a cross-compiler for the ARM, see
        http://www.neo-rousseaux.org/cgillot/en/ocamlhacks.html
but he didn't detail the build process...

- Xavier Leroy

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners