Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
From: Jonathan Roewen <jonathan.roewen@g...>
Subject: Re: [Caml-list] Creating nativecode apps
> ocamlopt work exactly the same way ocamlc does.
> "ocamlopt -c" 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?