the rest is COMPILED this is the only thing which prevents from linking StackVM and getting a binary on Mac OSX. Since x86 are similar to x64. i expect this can be done without much changes in assembler code.
Please help/advice.
Undefined symbols for architecture x86_64: "_sqLowLevelMFence", referenced from: _forceInterruptCheck in gcc3x-interp.c.o _primitiveLongRunningPrimitiveSemaphore in gcc3x-interp.c.o _markAndTraceInterpreterOops in gcc3x-interp.c.o _primitiveDoPrimitiveWithArgs in gcc3x-interp.c.o _beRootIfOld in gcc3x-interp.c.o _updatePointersInRangeFromto in gcc3x-interp.c.o _setInterruptPending in gcc3x-interp.c.o ... "_sqCompareAndSwapRes", referenced from: _signalSemaphoreWithIndex in sqExternalSemaphores.c.o ld: symbol(s) not found for architecture x86_64 collect2: ld returned 1 exit status make[2]: *** [/Users/guillermopolito/Pharo/vm/self-compiled/blessed/results/StackVM.app/Contents/MacOS/StackVM] Error 1 make[1]: *** [CMakeFiles/StackVM.dir/all] Error 2 make: *** [all] Error 2