Esteban Lorenzano uploaded a new version of CMakeVMMaker to project VM Maker: http://source.squeak.org/VMMaker/CMakeVMMaker-EstebanLorenzano.156.mcz ==================== Summary ==================== Name: CMakeVMMaker-EstebanLorenzano.156 Author: EstebanLorenzano Time: 25 April 2012, 9:32:20.987 am UUID: 9e8d9bac-5f1a-f645-a75f-b70682358a3c Ancestors: CMakeVMMaker-EstebanLorenzano.155 added ffi compiler flags =============== Diff against CMakeVMMaker-EstebanLorenzano.155 =============== Item was changed: ----- Method: CogFamilyWindowsConfig>>commonCompilerFlags (in category 'compiler flags') ----- commonCompilerFlags "omit -ggdb2 to prevent generating debug info" + "Some flags explanation: + STACK_ALIGN_BYTES=16 is needed in mingw and FFI (and I suppose on other modules too). + DALLOCA_LIES_SO_USE_GETSP=0 Some compilers return the stack address+4 on alloca function, + then FFI module needs to adjust that. It is NOT the case of mingw. + For more information see this thread: http://forum.world.st/There-are-something-fishy-with-FFI-plugin-td4584226.html + " ^ '-march=pentium4 -mwindows -D_MT -msse2 -mthreads -mwin32 -mno-rtd -mms-bitfields -mno-accumulate-outgoing-args ', self winVer , - ' -DWIN32 -DWIN32_FILE_SUPPORT -DNO_ISNAN -DNO_SERVICE -DNO_STD_FILE_SUPPORT ', + '-DLSB_FIRST -DVM_NAME="', self executableName,'" -DX86 ', + '-DSTACK_ALIGN_BYTES=16 -DALLOCA_LIES_SO_USE_GETSP=0 '! - '-DLSB_FIRST -DVM_NAME="', self executableName,'" -DX86 '! Item was changed: ----- Method: CogWindowsConfig>>compilerFlags (in category 'compiler flags') ----- compilerFlags "depends on config ..." + ^ self commonCompilerFlags, ' ' , self compilerFlagsRelease! - ^ self commonCompilerFlags, ' ' ,self compilerFlagsRelease! Item was added: + ----- Method: CogWindowsConfig>>compilerFlagsDebug (in category 'plugins') ----- + compilerFlagsDebug + "Define NDEBUG for production to exclude asserts " + ^ '-g3 -O0 -march=pentium4 -momit-leaf-frame-pointer -maccumulate-outgoing-args -funroll-loops -DDEBUGVM=1'! Item was changed: + ----- Method: CogWindowsConfig>>compilerFlagsRelease (in category 'as yet unclassified') ----- - ----- Method: CogWindowsConfig>>compilerFlagsRelease (in category 'compiler flags') ----- compilerFlagsRelease "Define NDEBUG for production to exclude asserts " ^ '-g0 -O2 -march=pentium4 -momit-leaf-frame-pointer -maccumulate-outgoing-args -funroll-loops ', '-DNDEBUG -DDEBUGVM=0'! Item was changed: ----- Method: CogWindowsConfig>>defaultExternalPlugins (in category 'plugins') ----- defaultExternalPlugins ^ #( ThreadedIA32FFIPlugin "SqueakFFIPrims" "Win32OSProcessPlugin" )! Item was changed: ----- Method: CogWindowsConfig>>defaultInternalPlugins (in category 'plugins') ----- defaultInternalPlugins ^ #( ADPCMCodecPlugin AsynchFilePlugin B3DAcceleratorPlugin BalloonEnginePlugin "B2DPlugin" BitBltSimulation "BitBltPlugin" BMPReadWriterPlugin CroquetPlugin DeflatePlugin "ZipPlugin" DropPlugin DSAPlugin "DSAPrims" FFTPlugin FilePlugin FloatArrayPlugin FloatMathPlugin HostWindowPlugin IA32ABIPlugin "IA32ABI" JoystickTabletPlugin JPEGReaderPlugin JPEGReadWriter2Plugin KlattSynthesizerPlugin "Klatt" LargeIntegersPlugin "LargeIntegers" LocalePlugin Matrix2x3Plugin MIDIPlugin MiscPrimitivePlugin Mpeg3Plugin RePlugin SecurityPlugin SerialPlugin SocketPlugin SoundCodecPlugin "SoundCodecPrims" SoundGenerationPlugin StarSqueakPlugin SurfacePlugin UUIDPlugin - )! |
Free forum by Nabble | Edit this page |