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 (05:38)
From: Jonathan Roewen <jonathan.roewen@g...>
Subject: Re: [Caml-list] Creating nativecode apps
> ocamlopt work exactly the same way ocamlc does.
> "ocamlopt -c file.ml" to compile one ocaml source (you'll get a
> file.cmx and a file.o files)
> "ocamlopt -o test file.cmx alib.cmxa" to link the executable against
> the alib library.

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?