From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id TAA03739; Wed, 12 Nov 2003 19:58:51 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id TAA03443 for ; Wed, 12 Nov 2003 19:58:50 +0100 (MET) Received: from woodstock.1969.ws (64-215-156-42.eosinc.net [64.215.156.42]) by concorde.inria.fr (8.11.1/8.11.1) with SMTP id hACIwm105333 for ; Wed, 12 Nov 2003 19:58:48 +0100 (MET) Received: (qmail 8641 invoked from network); 12 Nov 2003 19:07:32 -0000 Received: from karl.1969.ws (HELO 1969.ws) (10.3.2.15) by woodstock.1969.ws with SMTP; 12 Nov 2003 19:07:32 -0000 Message-ID: <3FB28443.9040708@1969.ws> Date: Wed, 12 Nov 2003 11:04:35 -0800 From: Karl Zilles Organization: 1969 Communications, Inc. User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en MIME-Version: 1.0 CC: Brian Hurt , Richard Jones , John J Lee , caml-list@inria.fr Subject: Re: [Caml-list] Executable size? References: <20031112173335.GA32347@redhat.com> <20031112183858.GB16395@iliana> In-Reply-To: <20031112183858.GB16395@iliana> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 sven:01 luther:01 printf:01 printf:01 ocamlc:01 ocamlc:01 ocamlopt:01 debugging:01 cygwin:01 -custom:01 byte:01 byte:01 native:02 native:02 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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