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
Why is ocaml so big?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Dominique Martinet <asmadeus77@g...>
Subject: Re: [Caml-list] Why is ocaml so big?
The -nopervasive switch simply does not load the Pervasive module
which is integrated in any executable ocaml normally produce... And
you're here using print_string which is in this module :)

Well, all the ways I know to output strings or whatever use Pervasive,
so I can't help you to replace it (I think even stdout is defined in
Pervasive~), but if you only want to get a small executable (let's say
you don't mind to return the int 42, instead of printing it), this
could help.