[
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: | 2008-03-26 (01:37) |
From: | Richard Cobbe <cobbe@c...> |
Subject: | Re: [Caml-list] Trouble with "ocamlbuild main.native" |
On Wed, Mar 26, 2008 at 01:46:35AM +0100, Nicolas Pouillard wrote: > Excerpts from Richard Cobbe's message of Wed Mar 26 00:17:12 +0100 2008: > > I'm having some difficulty getting ocamlbuild to produce native binaries > > for a project that's spread over multiple directories. I'm hoping someone > > can explain what I'm doing wrong here. > > You've hitted the -for-pack oddify :) > > [...] > > > <frontEnd/**/*.ml>: for-pack(frontEnd) > > <backEnd/**/*.ml>: for-pack(backEnd) > > <dataRep/**/*.ml>: for-pack(dataRep) > > Almost there... that's .cmx instead of .ml > > <frontEnd/**/*.cmx>: for-pack(frontEnd) > <backEnd/**/*.cmx>: for-pack(backEnd) > <dataRep/**/*.cmx>: for-pack(dataRep) Ah! That was it! Compiles perfectly now. Thanks so much! Richard