Great..that worked!
Thanks,
Kashyap

On Fri, Jan 27, 2017 at 7:13 AM, Marc Feeley <feeley@iro.umontreal.ca> wrote:
You need to generate .c files for each module, and then link them into an executable using gsc.  Because snow is implemented using macros that are defined in the file “snow.scm”, it is necessary to use the -prelude gsc option.

For example, with two modules f1.scm and f2.scm:


gsc -prelude '(begin (include "~/.snow-site/current/base/snow.scm") (include*-cd "f1.scm"))' -c f1.scm

gsc -prelude '(begin (include "~/.snow-site/current/base/snow.scm") (include*-cd "f2.scm"))' -c f2.scm

gsc -exe -o out f1.c f2.c


Marc


> On Jan 26, 2017, at 9:50 PM, C K Kashyap <ckkashyap@gmail.com> wrote:
>
> Gentle ping :) ... just know how to create executable using snow would make me very happy.
> Regards,
> Kashyap
>
> On Wed, Jan 25, 2017 at 9:37 PM, C K Kashyap <ckkashyap@gmail.com> wrote:
> Hi,
> Could someone please tell me how I can create executables using snow -
>
> snow's documentation says
>
> snow --compile file.scm produces file.o1
>
> How can I link file.o1? I found out about  "bundle" only now so please excuse my ignorance.
>
> Regards,
> Kashyap
>
> _______________________________________________
> Gambit-list mailing list
> Gambit-list@iro.umontreal.ca
> https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list