[Chicken-users] How to tell csc to call main?

2014-12-19 Thread Sascha Ziemann
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

Re: [Chicken-users] How to tell csc to call main?

2014-12-19 Thread Christian Kellermann
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

Re: [Chicken-users] How to tell csc to call main?

2014-12-19 Thread Moritz Heidkamp
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