caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* Producing a C wrapper with ocamlbuild or OMake
@ 2007-03-27 23:10 Joel Reymont
  2007-03-28  8:53 ` [Caml-list] " Nicolas Pouillard
  0 siblings, 1 reply; 14+ messages in thread
From: Joel Reymont @ 2007-03-27 23:10 UTC (permalink / raw)
  To: Caml List

Folks,

I'm trying to produce a C library from my OCaml code. I found these  
instructions on the net:

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

How would I accomplish the same with ocamlbuild, which I'm using now,  
or with OMake?

	Thanks in advance, Joel

--
http://wagerlabs.com/




^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2007-03-29 11:20 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-27 23:10 Producing a C wrapper with ocamlbuild or OMake Joel Reymont
2007-03-28  8:53 ` [Caml-list] " Nicolas Pouillard
     [not found]   ` <cd67f63a0703280158g559eff38pb6cca758682cad4a@mail.gmail.com>
2007-03-28  9:04     ` Joel Reymont
2007-03-28 12:38       ` Nicolas Pouillard
2007-03-28 13:25         ` Joel Reymont
2007-03-28 13:57           ` Nicolas Pouillard
2007-03-28 14:10             ` Joel Reymont
2007-03-28 15:46               ` Nicolas Pouillard
2007-03-28 18:58                 ` Joel Reymont
2007-03-28 21:13                   ` Nicolas Pouillard
2007-03-28 14:44             ` Joel Reymont
2007-03-28 15:49               ` Nicolas Pouillard
2007-03-28 22:46                 ` Joel Reymont
2007-03-29 11:20                   ` Nicolas Pouillard

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).