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
[Caml-list] huuuuuge executable with pxp
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2004-09-21 (13:39)
From: Paul Argentoff <argentoff@r...>
Subject: Re: [Caml-list] huuuuuge executable with pxp
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.

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: