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
Hi!
* Sascha Ziemann cev...@gmail.com [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
Hi,
Christian Kellermann ck...@pestilenz.org 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