Fantastic.  I followed those steps and was able to compile and run the code I'd been running interactively.  Thanks guys.<br><br>Roger.<br><br><div class="gmail_quote">On Sat, Jul 9, 2011 at 6:31 PM, Bradley Lucier <span dir="ltr"><<a href="mailto:lucier@math.purdue.edu">lucier@math.purdue.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im"><br>
On Jul 9, 2011, at 12:34 PM, Roger Wilson wrote:<br>
<br>
> That makes a lot of sense.  So my next question is how do I include Meroon into each source code file?<br>
<br>
</div>You don't load it into each source file, you load it into gambit before you manipulate (compile, include, or load) each source file.<br>
<br>
I do the following things.<br>
<br>
(1)  I run<br>
<br>
make_meroon<br>
<br>
in the Meroon source directory to build _meroon.o1.<br>
<br>
(2) I put _meroon.o1 in<br>
<br>
~~/lib/_meroon.o1<br>
<br>
(where ~~ is the Gambit install directory).<br>
<br>
(3)  I link ~~/bin/gsc++ to ~~/bin/gsc and ~~/bin/gsi++ to ~~/bin/gsi.<br>
<br>
(4)  I add the text<br>
<br>
(case (string->symbol (car (##command-line)))<br>
   ((gsi++ gsc++) (load "~~/lib/_meroon.o1"))<br>
   (else #f))<br>
<br>
to the file<br>
<br>
~~/lib/gambcext<br>
<br>
(5)  When I want to use gsc with Meroon preloaded, I call gsc++, when I want to use gsi with Meroon preloaded, I call gsi++<br>
<br>
Brad</blockquote></div><br>