From: Joel Reymont <joelr1@gmail.com>
To: Caml List <caml-list@inria.fr>
Cc: Aleksey Nogin <nogin@metaprl.org>
Subject: Example OMakefile to package OCaml code as a C library
Date: Wed, 28 Mar 2007 09:40:26 +0100 [thread overview]
Message-ID: <E31EC467-CDA0-42F5-9D18-AB4C1A5AEB0A@gmail.com> (raw)
Does anyone have an example OMakefile that can be used to package
OCaml code as a C library?
This is along the lines of what I'm trying to accomplish:
ocamlopt -output-obj -o fibcaml.o fib.ml
ocamlopt -c fibwrap.c
cp /usr/local/lib/ocaml/libasmrun.a libfib.a
ar r libfib.a fibcaml.o fibwrap.o
Thanks, Joel
--
http://wagerlabs.com/
next reply other threads:[~2007-03-28 8:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-28 8:40 Joel Reymont [this message]
2007-03-30 16:27 ` Aleksey Nogin
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=E31EC467-CDA0-42F5-9D18-AB4C1A5AEB0A@gmail.com \
--to=joelr1@gmail.com \
--cc=caml-list@inria.fr \
--cc=nogin@metaprl.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;
as well as URLs for NNTP newsgroup(s).