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] Creating nativecode apps
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-07-23 (07:46)
From: Stephane.Glondu@c...
Subject: Re: [Caml-list] Creating nativecode apps
Ooops... Sorry for double mail, Jonathan.

Selon Jonathan Roewen <jonathan.roewen@gmail.com>:
> Let me rephrase. What do the ocaml compilers need a C compiler for?
> And, if I use -output-obj, is the object file created solely by the
> ocaml compilers, or does this depend on a C compiler?

It depends on a C compiler. Actually, ocamlopt generates an assembler file
which is then linked with the runtime, which is written in C (but already
compiled, of course). That runtime uses a lot of C stdlib, but you should be
able to get rid of it for your purpose.

Stephane Glondu