[Vm-dev] Re: Problem compiling Mac VM
Eliot Miranda
eliot.miranda at gmail.com
Thu Apr 29 17:13:51 UTC 2010
On Thu, Apr 29, 2010 at 10:07 AM, Eliot Miranda <eliot.miranda at gmail.com>wrote:
> error was recently moved out of VMMaker (interp.c) and into the support
> code. You need to update the svn side of things.
>
I see a definition of error in platforms/win32/vm/sqWin32Intel.c but none
in platforms/Mac OS/vm/sqMacMain.c or platforms/unix/vm/sqUnixMain.c.
Something like this should serve:
/* Print an error message, possibly a stack trace, and exit. */
/* Disable Intel compiler inlining of error which is used for breakpoints */
#pragma auto_inline off
void
error(char *msg)
{
/* flag prevents recursive error when trying to print a broken stack */
static sqInt printingStack = false;
printf("\n%s\n\n", msg);
abort();
}
#pragma auto_inline on
HTH
> On Thu, Apr 29, 2010 at 6:18 AM, Mariano Martinez Peck <
> marianopeck at gmail.com> wrote:
>
>>
>> Sorry here I attach.
>>
>> On Thu, Apr 29, 2010 at 3:16 PM, Mariano Martinez Peck <
>> marianopeck at gmail.com> wrote:
>>
>>> Hi folks. I am trying to compile a Mac VM with the latest versions of
>>> VMMaker and SVN. However, when linking in XCode, I have an error.
>>>
>>> Sorry I cannot tell you more. I have no idea. I attach an screenshot with
>>> the error.
>>>
>>> Thanks for any help.
>>>
>>> Mariano
>>>
>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20100429/65ecb631/attachment-0001.htm
More information about the Vm-dev
mailing list