Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Custom bytecode
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Jacques Garrigue <garrigue@k...>
Subject: Re: [Caml-list] Custom bytecode
From: jmarant@nerim.net (Jérôme Marant)
>   I'd like to know whether there are some cases in which ocamlc
>   forces executables to be custom ones, even when the -custom
>   option is not used.

Yes. -custom will be automatically assumed if any of the .cma you link
in has itself been built with a -custom option. You can disable this
behaviour with -noautolink.

With dynamic loading, most libraries do not assume -custom any more,
but this can still happen with 3rd party libraries which have not been
converted yet to use ocamlmklib.

---------------------------------------------------------------------------
Jacques Garrigue      Kyoto University     garrigue at kurims.kyoto-u.ac.jp
		<A HREF=http://wwwfun.kurims.kyoto-u.ac.jp/~garrigue/>JG</A>
-------------------
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