<div dir="ltr">Great..that worked!<div>Thanks,</div><div>Kashyap</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 27, 2017 at 7:13 AM, Marc Feeley <span dir="ltr"><<a href="mailto:feeley@iro.umontreal.ca" target="_blank">feeley@iro.umontreal.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">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.<br>
<br>
For example, with two modules f1.scm and f2.scm:<br>
<br>
<br>
gsc -prelude '(begin (include "~/.snow-site/current/base/<wbr>snow.scm") (include*-cd "f1.scm"))' -c f1.scm<br>
<br>
gsc -prelude '(begin (include "~/.snow-site/current/base/<wbr>snow.scm") (include*-cd "f2.scm"))' -c f2.scm<br>
<br>
gsc -exe -o out f1.c f2.c<br>
<br>
<br>
Marc<br>
<div><div class="h5"><br>
<br>
> On Jan 26, 2017, at 9:50 PM, C K Kashyap <<a href="mailto:ckkashyap@gmail.com">ckkashyap@gmail.com</a>> wrote:<br>
><br>
> Gentle ping :) ... just know how to create executable using snow would make me very happy.<br>
> Regards,<br>
> Kashyap<br>
><br>
> On Wed, Jan 25, 2017 at 9:37 PM, C K Kashyap <<a href="mailto:ckkashyap@gmail.com">ckkashyap@gmail.com</a>> wrote:<br>
> Hi,<br>
> Could someone please tell me how I can create executables using snow -<br>
><br>
> snow's documentation says<br>
><br>
> snow --compile file.scm produces file.o1<br>
><br>
> How can I link file.o1? I found out about  "bundle" only now so please excuse my ignorance.<br>
><br>
> Regards,<br>
> Kashyap<br>
><br>
</div></div>> ______________________________<wbr>_________________<br>
> Gambit-list mailing list<br>
> <a href="mailto:Gambit-list@iro.umontreal.ca">Gambit-list@iro.umontreal.ca</a><br>
> <a href="https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list" rel="noreferrer" target="_blank">https://webmail.iro.umontreal.<wbr>ca/mailman/listinfo/gambit-<wbr>list</a><br>
<br>
</blockquote></div><br></div>