then started "x64-Debug" , "pharo.exe minImage+eval"
and a console window opens that reports...
"linking callsite to invalid address"
Well I'm not sure how ready is the Windows 64bit JIT is,
so lets try with 32bit JIT.
In VS selecting "x86-Debug" , "pharo.exe minImage+eval"
and "Cmake > Build All"
reports... "SeverityCodeDescriptionProjectFileLineSuppression State
ErrorC1189#error: As yet no Cogit implementation appears to exist for your platform. C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CMakeLists.txtC:\#Repos\OpenSmalltalk\opensmalltalk-vm\spur64src\vm\cogit.c
In the CMake variables
SourceFolderName=spur64src
because..
VM_64BITS=TRUE
which is set here...
if(SQUEAK_PLATFORM_X86_64)
if(BUILD_I386_VERSION)
set(SQUEAK_PLATFORM_X86_32 True)
set(SQUEAK_PLATFORM_X86_64 False)
else()
set(VM_64BITS TRUE)
set(SourceFolderName "${SourceFolderName}64")
if(WIN32)
set(FFI_VARIANT_X64_WIN64 True)
else()
set(FFI_VARIANT_X64_SYSV True)
endif()
set(VM_TARGET_CPU "x86_64")
endif()
else()
set(VM_64BITS False)
endif()
which I'm not clear how that logic works,
since it seems BUILD_I386_VERSION doesn't prevent VM_64BITS=True
Rearranging like...
if(BUILD_I386_VERSION)
set(SQUEAK_PLATFORM_X86_32 True)
set(SQUEAK_PLATFORM_X86_64 False)
set(VM_64BITS False)
else()
endif()
if(SQUEAK_PLATFORM_X86_64)
set(VM_64BITS TRUE)
set(SourceFolderName "${SourceFolderName}64")
if(WIN32)
set(FFI_VARIANT_X64_WIN64 True)
else()
set(FFI_VARIANT_X64_SYSV True)
endif()
set(VM_TARGET_CPU "x86_64")
else()
endif()
then adding
-DBUILD_I386_VERSION in
"CmakeSettings.json" like this...