[Vm-dev] Re: Problem compiling Mac VM

Igor Stasenko siguctua at gmail.com
Thu Apr 29 22:23:05 UTC 2010


On 29 April 2010 21:59, Mariano Martinez Peck <marianopeck at gmail.com> wrote:
>
>
>
> On Thu, Apr 29, 2010 at 7:13 PM, Eliot Miranda <eliot.miranda at gmail.com> wrote:
>>
>>
>>
>>
>> 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:
>
> Thanks Eliot. Indeed, that worked. Or at least, I could compile, link and run an image. Now I wonder how this kind of changes (those changes to VMMaker that require changes in all platform code support) are managed and synchronized so that to avoid this kind of problems.
>
> Is there a procedure for this ?
>
I think, if we could have a build farm, which will build VMs for all
major platforms and checks that build are successfull,
then at least compile-time errors fixes can be managed much more quickly.


> Cheers
>
> Mariano
>
>>
>> /* 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
>>>>
>>>>
>>>
>>
>>
>
>
>



-- 
Best regards,
Igor Stasenko AKA sig.


More information about the Vm-dev mailing list