Browse thread
[Caml-list] Unused .cma and .so
[
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: | Warp <warplayer@f...> |
| Subject: | Re: [Caml-list] Unused .cma and .so |
> I used to think that linking a .cma when no module inside it is required > is completely hurtless. I was wrong: it seems that .so added during linking > of those .cma are loaded. To me, this seems a feature with a > counter-intuitive semantics. > > Is there any way to disable this behaviour? You have to link your binary using the -noautolink ocamlc parameter. ( Watch the ocaml manual ) Nicolas Cannasse ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners