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] Delaying module initialization
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2004-03-26 (17:26)
From: Yamagata Yoriyuki <yoriyuki@m...>
Subject: Re: [Caml-list] Delaying module initialization
From: Richard Jones <>
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 Archives:
Bug reports: FAQ:
Beginner's list: