[gambit-list] Strategies on decreasing executable size for Gambit-based software for client distribution
Bradley Lucier
lucier at math.purdue.edu
Sat Oct 4 02:51:22 EDT 2008
On Oct 3, 2008, at 12:24 PM, Mikael More wrote:
> Is there any strategy using which one can compile Scheme code to
> binary form, in a way that only the functions used in the code is
> included in the binary? I.e. smaller binary for (display "Hello
> world\n") than for an application that uses cos, eval, open-tcp-
> client.
If, after a "make bootstrap" you change the line
(##define-macro (use-fast-bignum-algorithms) #t)
in lib/_num.scm to
(##define-macro (use-fast-bignum-algorithms) #f)
then you should reduce the executable size by some amount (I forget
how much).
Brad
More information about the Gambit-list
mailing list