Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Question about linking and module initialization
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Yamagata Yoriyuki <yoriyuki@m...>
Subject: Re: [Caml-list] Question about linking and module initialization
From: Alessandro Baretta <alex@baretta.com>
Subject: [Caml-list] Question about linking and module initialization
Date: Fri, 13 Sep 2002 20:05:16 +0200

> $ ocamlc -o app app.cma

In this case, modules only used from the main program are linked.
Since you don't provide anything except app.cma, I guess nothing is
linked.  Initialization is done by the linking order of modules in
app.cma.

Everything is explained in the ocamlc section of the manual.
--
Yamagata Yoriyuki
http://www.mars.sphere.ne.jp/yoriyuki/
PGP fingerprint = 0374 5290 7445 4C06 D79E AA86 1A91 48CB 2B4E 34CF


-------------------
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