Hi,
Christian Kellermann writes:
> Call (main) at toplevel. If you want to change the behaviour depending
> on whether the code is compiled or interpreted you can use cond-expand
> testing for feature 'compiling
alternatively pass an option like this to csc:
-postlude '(main (command-line-arg
Hi!
* Sascha Ziemann [141219 14:43]:
> How to tell csc to call main in the same way like "csi -ss"?
> csc does not seem to have a -ss option.
Call (main) at toplevel. If you want to change the behaviour depending
on whether the code is compiled or interpreted you can use cond-expand
testing for
Hi,
How to tell csc to call main in the same way like "csi -ss"?
$ cat distribution.scm
#! /usr/bin/csi -ss
(define (main args)
(display "main\n"))
$ ./distribution.scm
main
$ csc distribution.scm
$ ./distribution
$
csc does not seem to have a -ss option.
Regards,
Sascha
__