[racket] Embedding Racket into a Program

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Wed Jun 30 09:18:14 EDT 2010

Something has definitely gone wrong; I'll fix it.

Meanwhile, you can still use `mzc' (which will stick around a while for
compatibility):

  mzc --c-mods base.c ++lib racket/base


At Wed, 30 Jun 2010 12:43:14 +0200, gabor papp wrote:
> According to the Inside Racket C API 
> (http://docs.racket-lang.org/inside/overview.html) example
> embedding Racket into a program requires the 'raco ctool --c-mods base.c 
> ++lib racket/base' command, but it gives an error:
> raco ctool: unknown switch: ++lib
> 
> I guess it is different with raco than it was with mzc.
> 
> Is it still possible to encapsulate racket/base in the generated c file?
> 
> I'm using Racket v5.0 on OS X 10.5.
> 
> best,
> Gabor
> 
> _________________________________________________
>   For list-related administrative tasks:
>   http://lists.racket-lang.org/listinfo/users


Posted on the users mailing list.