I take it to be a complaint against Batteries in particular (helloworld.native is several Mb, when linked statically) and agains the compiler in particular (in any given program, most of this is dead code which the compiler fails to remove).
Xavier Leroy is aware of the issue. Maybe either he or Xavier Clerc will be able to look at it someday. Cheers, David On Fri, 2009-09-04 at 15:00 +0100, Richard Jones wrote: > On Fri, Sep 04, 2009 at 02:49:52PM +0200, Julien Signoles wrote: > > 3) It makes my executables too big > > Yes, even if it seems to be improved in a close future. > > Is this a complaint against Batteries in particular or OCaml in > general? OCaml binaries in general are rather large, and it appears > to be because the runtime / GC is statically linked. Do you know how > much this would improve with dynamic linking of libasmrun.a (which > IIRC was a feature added in 3.11)? > > Rich. > _______________________________________________ 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