On Aug 22, 2009, at 2:18 PM, Phil Dawes wrote:

> diff --git a/vm/os-macosx.mm b/vm/os-macosx.mm
> index 9fbc672..e4da7b2 100644
> --- a/vm/os-macosx.mm
> +++ b/vm/os-macosx.mm
> @@ -13,8 +13,8 @@ NS_DURING
>               c_to_factor(quot,vm);
>               NS_VOIDRETURN;
>  NS_HANDLER
> -             dpush(allot_alien(F,(cell)localException));
> -             quot = userenv[COCOA_EXCEPTION_ENV];
> +             dpush(vm->allot_alien(F,(cell)localException));
> +             quot = vm->userenv[COCOA_EXCEPTION_ENV];
>               if(!tagged<object>(quot).type_p(QUOTATION_TYPE))
>               {
>                       /* No Cocoa exception handler was registered, so

That gets the VM to compile, Phil. Bootstrap crashes and burns pretty  
quickly afterward:

% ./factor -i=boot.unix-x86.64.image
*** Stage 2 early init... done
The die word was called by the library. Unless you called it yourself,
you have triggered a bug in Factor. Please report.
Low level debugger disabled

-Joe


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to