[gambit-list] Adding multiple gsc generated C files to a project
Alex Queiroz
asandroq at gmail.com
Thu Jul 7 08:56:54 EDT 2011
Hallo,
On Thu, Jul 7, 2011 at 2:53 PM, Roger Wilson
<misterrogerwilson at gmail.com> wrote:
>
>
> The only way I've been able to generate C code from Meroon is..
>
> $ gsc
> (load "old-load.scm")
> (old-load "pre_meroon.scm")
> (compile-file-to-c "_meroon.scm")
> (link-incremental '('"meroon"))
>
> That generates _meroon.c and _meroon_.c which leads me to the original
> problem above. I've no idea if the C files generated that way do what I
> want though, as I've not been able to run any of the code in them.
>
The file with the "_.c" at the end is the link file and internal
to the Gambit-C linking process. So the name of your module is
"_meroon".
Cheers,
--
-alex
http://www.artisancoder.com/
More information about the Gambit-list
mailing list