Re: ocaml crosscompiler ?
Le jeudi 31 décembre 2009 08:26:18, Stefano Zacchiroli a écrit :
> On Wed, Dec 30, 2009 at 07:13:13PM +0100, Romain Beauxis wrote:
> > After the work from Richard Jones on preparing a crosscompiler for
> > ocaml using mingw32 [1], I wonder: is there any intent to prepare a
> > similar compiler for Debian ?
>
> As usual, it just boils down to someone volunteering for doing that :)
> I don't see any problem in having the cross compiler itself, of course
> starting to have some related libraries cross-compiled it would be more
> cumbersome, but we aren't there yet.
Well, I'm interested to contribute on this and, as I wrote, I already
sucessfuly compiled such a cross-compiler localy.
However, this is not a task I want to address alone. I believe this should be
a team-based decision, for several reasons:
* The cross-compiler packaging should benefit from the main compiler's
packaging. It may even be very similar.
* We need to discuss a policy for such a cross compiler:
o Where to install it ?
o What name to give it ?
* We eventually need to decide what we want to do about cross-compiled
modules. For native modules, it should not be difficult, and I believe that we
may be able to compile a cross-compiled module only by changing the default
ocamlc and etc.. For modules which link to binary objects, such as bindings,
this might be a little bit more difficult since we also need a cross-compiled
version of the corresponding library..
Romain
Reply to: