Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Jonathan Roewen <jonathan.roewen@gmail.com>
To: Damien Bobillot <damien.bobillot@m4x.org>
Cc: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] Creating nativecode apps
Date: Sat, 23 Jul 2005 17:38:18 +1200	[thread overview]
Message-ID: <ad8cfe7e0507222238692e2a48@mail.gmail.com> (raw)
In-Reply-To: <92AD4A03-A3FA-4725-97B7-3355C057401D@m4x.org>

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

Jonathan


  reply	other threads:[~2005-07-23  5:38 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 [this message]
     [not found]     ` <1122104179.42e1f37350e2a@www.crans.org>
2005-07-23  7:46       ` Stephane.Glondu
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=ad8cfe7e0507222238692e2a48@mail.gmail.com \
    --to=jonathan.roewen@gmail.com \
    --cc=caml-list@yquem.inria.fr \
    --cc=damien.bobillot@m4x.org \
    /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