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

[-- Attachment #1: Type: text/plain, Size: 707 bytes --]


Le 22 juil. 05 à 06:49, Jonathan Roewen a écrit :

> Where could I find information about how the ocamlopt compiler
> generates object files?
>
> I'm almost at a point where DST could retrofit the ocamlopt.opt
> compiler to run on it, and it might be an idea to write some tools in
> ocaml to do things like linking and what not so that we don't need a C
> environment to be self-hosting.

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.

-- 
Damien alias Schmurtz
aim:goim?screenname=schmuuurtz


[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 2375 bytes --]

  reply	other threads:[~2005-07-22 11:22 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 [this message]
2005-07-23  5:38   ` Jonathan Roewen
     [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=92AD4A03-A3FA-4725-97B7-3355C057401D@m4x.org \
    --to=damien.bobillot@m4x.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