[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

From: Moritz Heidkamp
Subject: Re: [Chicken-users] How to tell csc to call main?
Date: Fri, 19 Dec 2014 15:43:26 +0100


Christian Kellermann <address@hidden> 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-arguments))'

Untested but you get the idea. Actually, it would probably make sense to
have an option to that effect for csc, too.


Attachment: signature.asc
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]