[
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] ocamlbuild with pack |
On 6/17/07, Sean McLaughlin <seanmcl@gmail.com> wrote: > Hello > > I've run into a problem with ocamlbuild and -pack. > It will build bytecode packages, but not native ones. > E.g., > [...] > File a.cmx was not compiled with the `-for-pack Lib' option > Command exited with code 1. > > > What am I doing wrong? ocamlbuild does not keep track of -for-pack options. There is way to provide the architecture of your project in order to give for-pack option nicely but that worth only for big projects. The easy way is: $ cat _tags "a.cmx": for-pack(Lib) Regards, -- Nicolas Pouillard