English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
[Caml-list] Cross-compiling OCaml
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2004-09-01 (07:41)
From: Sven Luther <sven.luther@w...>
Subject: Re: [Caml-list] Cross-compiling OCaml
On Tue, Aug 31, 2004 at 08:05:41PM -0400, Christopher A. Watford wrote:
> Reply within,
> >>>SNIP>>>
> > Who ever said that cross-compilation support would only involve running
> > a compiler on x86 Linux to target x86 Windows?  It could involve
> > running a compiler on x86 Linux to target arm Zaurus, or m68k Linux, or
> > x86 FreeBSD, or amd64 Linux.  Or running a compiler on PowerPC NetBSD
> > to target Alpha NetBSD.  Or whatever else.
> I think this point needs to be streesed. Like John is trying to say,
> people are asking for CROSS-ARCHITECHTURE compiling, not CROSS-API.
> You can't expect to just plop down code and expect the API to be
> supported by your machine/compiler, however, you should be able to
> retarget the compiler for any architecture that may support it.

No, cross compiling to window is nice, and it should work.

The main point is that the code generation part should be made to build for a
different arch/os than the one the compiler is built on, which is not possible
right now, well at least not easily possible without mangling the built system
a lot.

Xavier and the rest of the ocaml team, would you consider such a feature for
3.09 ? 


Sven Luther

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