[plt-scheme] Embedding MzScheme on Mac OSX

From: Richard Cleis (rcleis at mac.com)
Date: Sat May 28 11:50:29 EDT 2005

Do this before any other scheme code:

int dummy;
scheme_set_stack_base(&dummy, 1);

This OS X subject is lightly scattered over the past year or so.  My 
two cents:  when I was building with Project Builder, this step was not 
necessary.  When I upgraded to  Xcode, it became essential.  I don't 
know how either compares to your gcc-line.

rac



On May 28, 2005, at 5:29 AM, Bourbaki wrote:

>  For list-related administrative tasks:
>  http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>
> i am trying to embed mzscheme in my application and am useing this 
> example here
> http://download.plt-scheme.org/doc/103p1/html/insidemz/node6.htm
> these lines arent compileing at all due to the scheme_config thingy
> so i just threw out all other lines but
> Scheme_Env *e = scheme_basic_env();
>
> and i compile like this
>
> gcc -I/Applications/PLT\ MzScheme\ v299.100/include -framework 
> PLT_Mzscheme  test.c -o test
>
> once i run this app it gives me a Segmentation Fault
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 1045 bytes
Desc: not available
URL: <http://lists.racket-lang.org/users/archive/attachments/20050528/ef11ce25/attachment.bin>

Posted on the users mailing list.