[gambit-list] 4.6.6 or 4.2.8

Steve Graham jsgrahamus at yahoo.com
Thu Jun 7 13:22:05 EDT 2012


steve at mepis1:~/Desktop$ ls -al test*
-rw-r--r-- 1 steve users 97 Jun  7 11:10 test2.scm
-rw-r--r-- 1 root  root  97 Jun  7 11:03 test.scm
steve at mepis1:~/Desktop$ gsc -exe test.scm
steve at mepis1:~/Desktop$ ls -al test*
-rwxr-xr-x 1 steve users 5449050 Jun  7 11:18 test
-rw-r--r-- 1 steve users      97 Jun  7 11:10 test2.scm
-rw-r--r-- 1 root  root       97 Jun  7 11:03 test.scm
steve at mepis1:~/Desktop$ gsc -exe -e '(set! c#targ-tree-shake? #t)'  test2.scm
steve at mepis1:~/Desktop$ ls -al test*
-rwxr-xr-x 1 steve users 5449050 Jun  7 11:18 test
-rwxr-xr-x 1 steve users 5449057 Jun  7 11:19 test2
-rw-r--r-- 1 steve users      97 Jun  7 11:10 test2.scm
-rw-r--r-- 1 root  root       97 Jun  7 11:03 test.scm
steve at mepis1:~/Desktop$ ./test
123
steve at mepis1:~/Desktop$ ./test2
123
steve at mepis1:~/Desktop$ 

So, they both execute, but the tree shaking didn't seem to do much.

Any thoughts?

Thanks, Steve 



________________________________
 From: Steve Graham <jsgrahamus at yahoo.com>
To: Gambit List <Gambit-list at iro.umontreal.ca> 
Sent: Thursday, June 7, 2012 10:31 AM
Subject: Re: [gambit-list] 4.6.6 or 4.2.8
 

I got some errors when I tried to compile a file:

root at mepis1:/opt/gambit# cat test.scm
(define (block))

(define (f x)
(+ (* x x)
(- x 1)))

(define (g y)
(f (f y)))

(pp 123)

root at mepis1:/opt/gambit# gsc test.scm
*** ERROR IN "/opt/gambit/test.scm"@1.1 -- Ill-formed special form: define
root at mepis1:/opt/gambit# gsc -e '(set! c#targ-tree-shake? #t)' test.scm
*** ERROR IN (string)@1.1 -- Unbound variable: c#targ-tree-shake?

Any ideas?

Thanks, Steve



________________________________
 From: Steve Graham <jsgrahamus at yahoo.com>
To: Gambit List <Gambit-list at iro.umontreal.ca> 
Sent: Thursday, June 7, 2012 10:23 AM
Subject: [gambit-list] 4.6.6 or 4.2.8
 

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.

I am running on an x64 Linux system.


Steve

_______________________________________________
Gambit-list mailing list
Gambit-list at iro.umontreal.ca
https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list



_______________________________________________
Gambit-list mailing list
Gambit-list at iro.umontreal.ca
https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://webmail.iro.umontreal.ca/pipermail/gambit-list/attachments/20120607/ff47fc06/attachment-0001.html 


More information about the Gambit-list mailing list