Stéphane Glondu wrote:
Are there cases where ocamlopt -shared is useful without -linkall?

Yes, I think so. First, of course, when you don't link any library in the .cmxs, only modules, then -linkall is not needed (but admittedly it wouldn't hurt). Second, imagine you want to create an addin that relies on code in a library which you want to embed in the addin. You don't necessarily want to link the whole library, just the modules which are needed.


-- Alain

_______________________________________________
Caml-list mailing list. Subscription management:
http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
Archives: http://caml.inria.fr
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs

Reply via email to