[Vm-dev] Building StackVM on ARM linux meego-hartmann

Eliot Miranda eliot.miranda at gmail.com
Tue Oct 2 21:31:07 UTC 2012


Hi Denis,

On Tue, Oct 2, 2012 at 2:10 PM, Denis Kudriashov <dionisiydk at gmail.com>wrote:

>
> Hello
>
> I try to build StackVM on my phone nokiaN9 by mariano blog
> http://marianopeck.wordpress.com/2011/04/10/building-the-vm-from-scratch-using-git-and-cmakevmmaker/
>
> It is specific linux meego-hartmann on ARM.
> So I just perform all instructions on my phone terminal app. (generated
> sources from StackUnixConfig I copied to phone prepared dir).
> CMake command executed successfully. But "make" failed on processing
> LocalePlugin.
> I have in console:
>
> Building C object LocalePlugin/../...Plugin.c o
> cc1 error: incorrect key "-m32"
> cc1 error: incorrect key "-msse2"
>

-msse2 is specific to x86 processors ad says "generate SSE2 instructions".
-m32 is more general but means "generate 32-bit code".

So both of these options can be omitted.

HTH


> And I found any plugin cmakelists includes such statement:
>
> add_definitions( -DLSB_FIRST=1 -DUSE_GLOBAL_STRUCT=0 -DCOGMTVM=0 -m32 -g0
> -O2 -msse2 -D_GNU_SOURCE -DNDEBUG -DITIMER_HEARTBEAT=1
>     -DNO_VM_PROFILE=1 -DDEBUGVM=0)
>
> What do you think? What I can do to fix it?
>

Everything except -m32 -msse2 should be fine.


>
> P.S. I'am very beginner on C stuff.
>
> Best regards,
> Denis
>



-- 
best,
Eliot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20121002/b94e94f9/attachment.htm


More information about the Vm-dev mailing list