Browse thread
beta-test of OCaml 3.10.0
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Nicolas Pouillard <nicolas.pouillard@g...> |
| Subject: | Re: [Caml-list] beta-test of OCaml 3.10.0 |
On 3/17/07, Peter Halacsy <peter@halacsy.com> wrote: > > > On Mar 7, 2007, at 2:10 PM, Xavier Leroy wrote: > > > - A new tool: ocamlbuild, a compilation manager for OCaml projects. > Hi, > I've downloaded and succesfuly compiled and installed 3.10 (on Intel MacBook > Pro). Ocamlbuild is a great tool! > > I only wonder how I can build a cmxa file from several ml files. Should I > define a custom target or something like that? Just write a .mllib file with the contents of your library. $ cat foo.mllib Bar Baz $ ocamlbuild foo.cma foo.cmxa If you have a main module (Foo) and want a library from it, it will make a library with the sorted transitive closure from Foo. $ ocamlbuild foo.cma foo.cmxa -- Nicolas Pouillard