[gambit-list] Adding multiple gsc generated C files to a project
Alex Queiroz
asandroq at gmail.com
Thu Jul 7 08:07:07 EDT 2011
Hallo,
>
> i.e. the code in my app that initiates Gambit looks like the standard....
>
> ___setup_params_reset (&setup_params);
> setup_params.version = ___VERSION;
> setup_params.linker = LINKER; // <------- Can only specify one module
> here
> setup_params.debug_settings = debug_settings;
>
> ___setup(&setup_params);
>
>
You must call gsc with all your modules on the command line:
$ gsc -link mod1.scm mod2.scm mod3.scm ... master.scm
and then you only need to "link" with the master module in your C code.
Cheers,
--
-alex
http://www.artisancoder.com/
More information about the Gambit-list
mailing list