it works great !<div>Thanks a lot</div><div>cyrille<br><br>On Monday, May 7, 2012, Marc Feeley  wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
On 2012-05-07, at 11:54 AM, Bradley Lucier wrote:<br>
<br>
><br>
> On May 8, 2012, at 12:20 AM, Cyrille Duret wrote:<br>
><br>
>> In fact I want to use the prelude option of the compiler inside the interpreted mode.<br>
>> I have not seen any prelude: option in the compile-file function.<br>
><br>
> Ah, so this may be a bug (or a missing feature) but it doesn't appear to have anything specifically to do with macros, really.<br>
><br>
>> The command line I use actually in my Makefile<br>
>> gsc-gambit -prelude '(include "test-macro.scm")' test-simple.scm<br>
><br>
><br>
> Marc?<br>
<br>
When using the compiler interactively, by calling compile-file, the compiler will automatically import the macros from the interaction environment.  So this should suffice:<br>
<br>
(eval '(include "test-macro.scm"))<br>
(compile-file "test-simple.scm")<br>
<br>
Marc<br>
<br>
</blockquote></div>