Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Stephane.Glondu@crans.org
To: Jonathan Roewen <jonathan.roewen@gmail.com>
Cc: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] Creating nativecode apps
Date: Sat, 23 Jul 2005 09:46:42 +0200	[thread overview]
Message-ID: <1122104802.42e1f5e2e654b@www.crans.org> (raw)
In-Reply-To: <1122104179.42e1f37350e2a@www.crans.org>

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


  parent reply	other threads:[~2005-07-23  7:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-22  4:49 Jonathan Roewen
2005-07-22 11:22 ` Damien Bobillot
2005-07-23  5:38   ` Jonathan Roewen
     [not found]     ` <1122104179.42e1f37350e2a@www.crans.org>
2005-07-23  7:46       ` Stephane.Glondu [this message]
2005-07-23 12:36     ` Jacques Garrigue

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1122104802.42e1f5e2e654b@www.crans.org \
    --to=stephane.glondu@crans.org \
    --cc=caml-list@yquem.inria.fr \
    --cc=jonathan.roewen@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox