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: 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