Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Delaying 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] Delaying module initialization
From: Richard Jones <rich@annexia.org>
Subject: [Caml-list] Delaying module initialization
Date: Fri, 26 Mar 2004 16:59:43 +0000

> Now the problem is that any program which links with perl4caml.cma
> appears to immediately 'use' every Perl module, even ones for wrappers
> which the program doesn't actually need.

Actually, no.  Among the modules in the cma file, modules really
initialized and linked are modules which contain values used in the
main program.  Other modules are not initialized.

--
Yamagata Yoriyuki

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