[plt-scheme] independant compiles

From: Corey Sweeney (corey.sweeney at gmail.com)
Date: Thu Dec 1 11:32:31 EST 2005

I created a file addtest.scm:   {to test creating independant binaries}
(display (+ 2 (read)))

then I:
$ mzc --exe addtest addtest.scm

gives:
mzc version 299.406, Copyright (c) 2004-2005 PLT Scheme Inc.
get-module-code: no such file:
#<path:/usr/local/home/corey/what-stage-3-should-i-usep-dir/addtest.ss>

So I make addtest2.scm with:
(module decoy-module-wrapper mzscheme
(display (+ 2 (read))))

then:
mzc version 299.406, Copyright (c) 2004-2005 PLT Scheme Inc.
Gives:
load-handler: expected a `module' declaration for `addtest2' in
#<path:/usr/local/home/corey/what-stage-3-should-i-usep-dir/addtest2.ss>,
found: decoy-module-wrapper

What do I do to make a executable?

Corey


--
((lambda (y) (y y)) (lambda (y) (y y)))
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20051201/85d0add6/attachment.html>

Posted on the users mailing list.