Browse thread
Compiling recursive modules into a .cma.
-
Guillaume Yziquel
-
Stéphane Glondu
- Guillaume Yziquel
-
Stéphane Glondu
[
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: | Guillaume Yziquel <guillaume.yziquel@b...> |
| Subject: | Re: [Caml-list] Compiling recursive modules into a .cma. |
Stéphane Glondu a écrit : > > It seems that chain.cmo is linked before protection.cmo inside the .cma. > The order of modules inside of a .cma file is important. The behaviour > is the same as if they were #loaded in the same order in a toplevel. Try > writing explicitly all .ml files of $(SOURCE) in topological order. Yes. Indeed. This is the problem. I was misled by the fact that compiling things manually and in order didn't work at first, and I believed something else was wrong, but I was mistaken. It now works. Thanks. Guillaume.