Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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