[gambit-list] How to create small standalone executable with

Alex Queiroz asandroq at gmail.com
Mon Aug 17 09:17:33 EDT 2009


Hallo,

On 8/17/09, David Bridgham <dab at froghouse.org> wrote:
>
> Sure.  If you call eval then everything else has to get dragged in.  If
>  you don't call eval, why does the entire library get linked in rather
>  than only what's called?
>

      This is not so easy to spot:

(define my-func eval)
,,,
(if some-condition-entered-by-the-user
  (begin
    (set! my-func println)
    ...)
...
..
(my-func (+ 1 2 3 4)

Cheers,
-- 
-alex
http://www.ventonegro.org/



More information about the Gambit-list mailing list