Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] Unused .cma and .so
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2002-04-15 (17:50)
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
>  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 Archives:
Bug reports: FAQ:
Beginner's list: