Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Executable size?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Karl Zilles <zilles@1...>
Subject: Re: [Caml-list] Executable size?
Sven Luther wrote:

 >  $ cat hello.ml
 >  Printf.printf "Hello World!\n"
 >  $ ocamlc hello.ml -o hello.byte
 >  $ ls -l hello.byte
 >  36025 hello.byte
 >  $ ocamlc hello.ml -custom -o hello.custom
 >  $ ls -l hello.custom
 >  181718 hello.custom
 >  $ ocamlopt hello.ml -o hello.native
 >  $ ls -l hello.native
 >  149877 hello.native


Don't forget to strip out debugging info.  When I did that on cygwin I 
dropped from 165K to 100K.


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