[plt-scheme] having some trouble compiling reliable version of extension module for mzscheme3m; suggestions?

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Thu Sep 15 12:47:37 EDT 2005

At Wed, 14 Sep 2005 13:56:37 -0700 (PDT), Danny Yoo wrote:
> All C extension code that cooperates with the 3m collector appears to need
> to be munged with a utility called 'xform.ss', located in
> $PLT_HOME/src/mzscheme/gc2.  xform does some magical stuff that I don't
> understand, but the result is another C program that cooperates with gc2.

Yes, this is one path. I will move xform to a more accessible place,
and likely add a blade to mzc as you suggest.

It's also possible to add appropriate annotations to the C code by
hand, much as for a Scheme48 extension. I'll document that, too, RSN.

> which the compiler collection pays attention to.  I assume, then, that
> 'mzc --3m' does the same sort of link-variant parameter setting when
> compiling C source.



Posted on the users mailing list.