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 PAA11913; Tue, 21 Sep 2004 15:39:55 +0200 (MET DST) Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id PAA11028 for ; Tue, 21 Sep 2004 15:39:54 +0200 (MET DST) Received: from paul.rtelekom.ru (paul.rtelekom.ru [217.146.42.160]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id i8LDdlNh024768 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 21 Sep 2004 15:39:53 +0200 Received: from paul.rtelekom.ru (localhost [127.0.0.1]) by paul.rtelekom.ru (8.12.10/8.12.10) with ESMTP id i8LDdbSF017612; Tue, 21 Sep 2004 17:39:37 +0400 (MSD) (envelope-from argentoff@rtelekom.ru) Received: (from paul@localhost) by paul.rtelekom.ru (8.12.10/8.12.10/Submit) id i8LDdb1v017611; Tue, 21 Sep 2004 17:39:37 +0400 (MSD) (envelope-from argentoff@rtelekom.ru) X-Authentication-Warning: paul.rtelekom.ru: paul set sender to argentoff@rtelekom.ru using -f X-Comment-To: Gerd Stolpmann To: Gerd Stolpmann Cc: argentoff@rtelekom.ru, ocaml Subject: Re: [Caml-list] huuuuuge executable with pxp References: <200409211203.49504.argentoff@rtelekom.ru> <1095754991.1134.8.camel@ice.gerd-stolpmann.de> From: Paul Argentoff Date: Tue, 21 Sep 2004 17:39:37 +0400 In-Reply-To: <1095754991.1134.8.camel@ice.gerd-stolpmann.de> (Gerd Stolpmann's message of "Tue, 21 Sep 2004 10:23:11 +0200") Message-ID: <86d60flp0m.fsf@paul.rtelekom.ru> User-Agent: Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.4 (Reasonable Discussion) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Miltered: at nez-perce with ID 41502F23.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 pxp:01 gerd:01 stolpmann:01 gerd:01 stolpmann:01 wlex:01 wlex:01 slower:01 pxp-engine:01 jabber:01 jabber:01 -package:01 simpler:01 compile:02 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Dear Gerd Stolpmann, Let GS = "Gerd Stolpmann" in written_by GS => GS> I guess you did not install wlex or ulex. The biggest part of the GS> executable are the UTF-8 lexing tables of the ocamllex-based lexer GS> (about 1M). By switching to the wlex or ulex lexer (the latter is only GS> present in the newest release, but simpler to build), you can reduce GS> the size of the executable significantly. These alternative lexers are GS> a bit slower, however. After building them, compile your program with GS> -package pxp-engine,pxp-ulex-utf8 or pxp-wlex-utf8. Thanx, I'm now experimenting on it ;) -- Yours truly, WBR, Paul Argentoff. Jabber: paul@jabber.rtelekom.ru RIPE: PA1291-RIPE ------------------- 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