[plt-scheme] MzScheme + SWIG: howto?

From: Elena Garrulo (egarrulo at gmail.com)
Date: Thu Jun 25 12:45:08 EDT 2009


I'd like to use SWIG to wrap an existing (Win32) library for use with MzScheme.

SWIG creates a C source file containing Scheme wrappings. What should
I do with it? Compile it as dynamically linked library? Any compiler
will do? How should I reference the resulting module from MzScheme?

I'd bet the required steps are similar for different platforms,
therefore please post your experiences or links (I wasn't able to find
any) anyway.

Thank you very much.

Posted on the users mailing list.