<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><pre><br>steve@mepis1:~/Desktop$ ls -al test*<br>-rw-r--r-- 1 steve users 97 Jun  7 11:10 test2.scm<br>-rw-r--r-- 1 root  root  97 Jun  7 11:03 test.scm<br>steve@mepis1:~/Desktop$ gsc -exe test.scm<br>steve@mepis1:~/Desktop$ ls -al test*<br>-rwxr-xr-x 1 steve users 5449050 Jun  7 11:18 test<br>-rw-r--r-- 1 steve users      97 Jun  7 11:10 test2.scm<br>-rw-r--r-- 1 root  root       97 Jun  7 11:03 test.scm<br>steve@mepis1:~/Desktop$ gsc -exe -e '(set! c#targ-tree-shake? #t)'  test2.scm<br>steve@mepis1:~/Desktop$ ls -al test*<br>-rwxr-xr-x 1 steve users 5449050 Jun  7 11:18 test<br>-rwxr-xr-x 1 steve users 5449057 Jun  7 11:19 test2<br>-rw-r--r-- 1 steve users      97 Jun  7 11:10 test2.scm<br>-rw-r--r-- 1 root  root       97 Jun  7 11:03 test.scm<br>steve@mepis1:~/Desktop$ ./test<br>123<br>steve@mepis1:~/Desktop$
 ./test2<br>123<br>steve@mepis1:~/Desktop$ <br><br>So, they both execute, but the tree shaking didn't seem to do much.<br><br>Any thoughts?<br><br>Thanks, Steve <br></pre><div><br></div>  <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font size="2" face="Arial"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Steve Graham <jsgrahamus@yahoo.com><br> <b><span style="font-weight: bold;">To:</span></b> Gambit List <Gambit-list@iro.umontreal.ca> <br> <b><span style="font-weight: bold;">Sent:</span></b> Thursday, June 7, 2012 10:31 AM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [gambit-list] 4.6.6 or 4.2.8<br> </font> </div> <br>
<div id="yiv2134178005"><div><div style="color:#000;background-color:#fff;font-family:times new roman, new york, times, serif;font-size:12pt;"><div><span>I got some errors when I tried to compile a file:</span></div><div><br><span></span></div><pre>root@mepis1:/opt/gambit# cat test.scm<br>(define (block))<br><br>(define (f x)<br>  (+ (* x x)<br>     (- x 1)))<br><br>(define (g y)<br>  (f (f y)))<br><br>(pp 123)<br><br>root@mepis1:/opt/gambit# gsc test.scm<br>*** ERROR IN "/opt/gambit/test.scm"@1.1 -- Ill-formed special form: define<br>root@mepis1:/opt/gambit# gsc -e '(set! c#targ-tree-shake? #t)' test.scm<br>*** ERROR IN (string)@1.1 -- Unbound variable: c#targ-tree-shake?<br><br>Any ideas?<br><br>Thanks, Steve<br></pre><div><br></div>  <div style="font-family:times new roman, new york, times, serif;font-size:12pt;"> <div style="font-family:times new roman, new york, times, serif;font-size:12pt;"> <div dir="ltr"> <font size="2" face="Arial"> <hr
 size="1"> 
 <b><span style="font-weight:bold;">From:</span></b> Steve Graham <jsgrahamus@yahoo.com><br> <b><span style="font-weight:bold;">To:</span></b> Gambit List <Gambit-list@iro.umontreal.ca> <br> <b><span style="font-weight:bold;">Sent:</span></b> Thursday, June 7, 2012 10:23 AM<br> <b><span style="font-weight:bold;">Subject:</span></b> [gambit-list] 4.6.6 or 4.2.8<br> </font> </div> <br>
<div id="yiv2134178005"><div><div style="color:#000;background-color:#fff;font-family:times new roman, new york, times, serif;font-size:12pt;"><div>Just downloaded and built the latest version.  Verbiage in make indicated it was 4.6.6.  However, when I fired up gsi and gsc, they both said 4.2.8.</div><div><br></div><div>I am running on an x64 Linux system.</div><div><br></div><div><br></div><div>Steve<br></div></div></div></div><br>_______________________________________________<br>Gambit-list mailing list<br><a rel="nofollow" ymailto="mailto:Gambit-list@iro.umontreal.ca" target="_blank" href="mailto:Gambit-list@iro.umontreal.ca">Gambit-list@iro.umontreal.ca</a><br><a rel="nofollow" target="_blank" href="https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list">https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list</a><br><br><br> </div> </div>  </div></div></div><br>_______________________________________________<br>Gambit-list
 mailing list<br><a ymailto="mailto:Gambit-list@iro.umontreal.ca" href="mailto:Gambit-list@iro.umontreal.ca">Gambit-list@iro.umontreal.ca</a><br><a href="https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list" target="_blank">https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list</a><br><br><br> </div> </div>  </div></body></html>