Timothy M uploaded a new version of CMakeVMMakerSqueak to project VM Maker: http://source.squeak.org/VMMaker/CMakeVMMakerSqueak-tty.80.mcz
==================== Summary ====================
Name: CMakeVMMakerSqueak-tty.80 Author: tty Time: 1 July 2014, 9:54:21.074 am UUID: 791765ad-9061-4651-a0cd-1cdd877a017e Ancestors: CMakeVMMakerSqueak-tty.79
save stage while I revert and debug
=============== Diff against CMakeVMMakerSqueak-tty.79 ===============
Item was changed: ----- Method: CMakeVMGeneratorForSqueak>>generate (in category 'code generation') ----- generate | intPlugins extPlugins | - output := String new writeStream. config setGlobalOptions: self. + - self printHeader; project: config executableName.
config setGlobalOptionsAfterDetermineSystem: self.
config setupDirectories: self. + - self message: '${CMAKE_MODULE_PATH}'. self set: 'CMAKE_CONFIGURATION_TYPES' to: 'Release'.
+ config preferredIncludes do: [ :each | self includeDirectories: each ]. - config preferredIncludes - do: [ :each | self includeDirectories: each ]. self includeDirectories: self includeDirs. + config standardIncludes do: [:each | self includeDirectories: each ]. - config standardIncludes - do: [:each | self includeDirectories: each ].
self addDefinitions: config compilerFlags.
config extraVMSettings: self. + - self puts: 'add_executable(' , config executableName, ' ', config executableType, ' ' , self sources , ')'. + - intPlugins := self generatePluginConfigs: config internalPlugins internal: true. extPlugins := self generatePluginConfigs: config externalPlugins internal: false.
self processThirdpartyLibraries. + - self processPlugins: intPlugins, extPlugins.
config setExtraTargetProperties: self. + - self cmd: 'target_link_libraries' params: self moduleName , ' ${LINKLIBS}'.
config postBuildActions: self. + - self saveFile. self generateBuildScript.!
Item was removed: - ----- Method: CMakeVMMakerSqueakRedirectMethodsWithArgTest>>testAddVMDrivers (in category 'as yet unclassified') ----- - testAddVMDrivers - self flag:'tty'. "Is the self shouldnt sufficient?" - #(#SqueakMacintoshConfig #SqueakUnixConfig #SqueakWindowsConfig ) - do:[:each | - (Smalltalk at:each) - allSubclassesDo:[:configuration | | o buildTypes vmGenerator| - o:= configuration new. - (o excludeFromBuild not) & (configuration isAbstractBaseClass not) - ifTrue:[ - buildTypes:=o availableBuildTypes copyWithoutAll:#(#buildNone). - buildTypes do:[:buildType | - o configureForBuildType: buildType. - vmGenerator:=CMakeVMGeneratorForSqueak new. - vmGenerator config: o. - vmGenerator output:(String new writeStream). - self shouldnt: [o addVMDrivers: vmGenerator] raise: Error]]]]. - !
Item was added: + ----- Method: CMakeVMMakerSqueakUnixConfigTest>>testAddVMDrivers (in category 'as yet unclassified') ----- + testAddVMDrivers + self flag:'tty'. "Is the self shouldnt sufficient?" + #( #SqueakUnixConfig ) + do:[:each | + (Smalltalk at:each) + allSubclassesDo:[:configuration | | o buildTypes vmGenerator| + o:= configuration new. + (o excludeFromBuild not) & (configuration isAbstractBaseClass not) + ifTrue:[ + buildTypes:=o availableBuildTypes copyWithoutAll:#(#buildNone). + buildTypes do:[:buildType | + o configureForBuildType: buildType. + vmGenerator:=CMakeVMGeneratorForSqueak new. + vmGenerator config: o. + vmGenerator output:(String new writeStream). + self shouldnt: [o addVMDrivers: vmGenerator] raise: Error]]]]. + !
Item was changed: ----- Method: CPlatformConfigForSqueak>>linkFlags (in category 'cmake buildType redirects') ----- linkFlags " '-lSM -lICE -ldl -lGL -lpthread -lm -lnsl -lX11' -L/usr/lib32 etc..." + |d flags| - |d | d:= SqueakCMakeVMMakerAbstractBuilder default buildTypeAndDirectoryInfo copy. d at: #build put: [self linkFlagsBuild]; at: #buildAssert put: [self linkFlagsBuildAssert]; at: #buildAssertITimerHeartbeat put: [self linkFlagsBuildAssertITimerHeartbeat]; at:#buildDebug put: [self linkFlagsBuildDebug]; at: #buildDebugITimerHeartbeat put: [self linkFlagsBuildDebugITimerHeartbeat ]; at: #buildITimerHeartbeat put: [self linkFlagsBuildITimerHeartbeat]; at: #buildMultiThreaded put: [self linkFlagsBuildMultiThreaded ]; at: #buildMultiThreadedAssert put: [self linkFlagsBuildMultiThreadedAssert]; at: #buildMultiThreadedDebug put: [self linkFlagsBuildMultiThreadedDebug ]; at: #buildNone put:[self linkFlagsNoBuildType]. + flags := String + streamContents: [:stream | ((d at: buildType) value collect: #withBlanksTrimmed as: Set) + asStringOn: stream + delimiter: ' ']. + ^flags. + + - ^(d at: buildType) value !
Item was changed: ----- Method: CPlatformConfigForSqueak>>setGlobalOptionsBuild: (in category 'cmake buildType redirects') ----- setGlobalOptionsBuild: aMaker "convenience method to customize for this build type.
SystemNavigation default browseMethodsWhoseNamesContain: 'setGlobalOptions'
usually do nothing" - self subclassResponsibility!
Item was added: + ----- Method: Linux32x86Config>>addVMDriversBuild: (in category 'cmake buildType redirects') ----- + addVMDriversBuild: aMaker + aMaker message: 'addVMDrivers: aMaker'. + self + addDriver: 'vm-display-null' + sources: #( + '${targetPlatform}/vm-display-null/sqUnixDisplayNull' ) + generator: aMaker + externalLibs: #(); + + addDriver: 'vm-display-X11' + sources: #( + '${targetPlatform}/vm-display-X11/sqUnixX11' + '${targetPlatform}/vm-display-X11/sqUnixMozilla' ) + generator: aMaker + externalLibs: (self linkFlags); + + addDriver: 'vm-sound-ALSA' + sources: #( + '${targetPlatform}/vm-sound-ALSA/sqUnixSoundALSA' ) + generator: aMaker + externalLibs: #(); + + addDriver: 'vm-sound-null' + sources: #( + '${targetPlatform}/vm-sound-null/sqUnixSoundNull' ) + generator: aMaker + externalLibs: #(). + !
Item was added: + ----- Method: Linux32x86Config>>addVMDriversBuildAssert: (in category 'cmake buildType redirects') ----- + addVMDriversBuildAssert: aMaker + ^self addVMDriversBuild: aMaker!
Item was added: + ----- Method: Linux32x86Config>>addVMDriversBuildAssertITimerHeartbeat: (in category 'cmake buildType redirects') ----- + addVMDriversBuildAssertITimerHeartbeat: aMaker + ^self addVMDriversBuild: aMaker!
Item was added: + ----- Method: Linux32x86Config>>addVMDriversBuildDebug: (in category 'cmake buildType redirects') ----- + addVMDriversBuildDebug: aMaker + ^self addVMDriversBuild: aMaker!
Item was added: + ----- Method: Linux32x86Config>>addVMDriversBuildDebugITimerHeartbeat: (in category 'cmake buildType redirects') ----- + addVMDriversBuildDebugITimerHeartbeat: aMaker + ^self addVMDriversBuild: aMaker!
Item was added: + ----- Method: Linux32x86Config>>addVMDriversBuildITimerHeartbeat: (in category 'cmake buildType redirects') ----- + addVMDriversBuildITimerHeartbeat: aMaker + ^self addVMDriversBuild: aMaker!
Item was added: + ----- Method: Linux32x86Config>>addVMDriversBuildMultiThreaded: (in category 'cmake buildType redirects') ----- + addVMDriversBuildMultiThreaded: aMaker + ^self addVMDriversBuild: aMaker!
Item was added: + ----- Method: Linux32x86Config>>addVMDriversBuildMultiThreadedAssert: (in category 'cmake buildType redirects') ----- + addVMDriversBuildMultiThreadedAssert: aMaker + ^self addVMDriversBuild: aMaker!
Item was added: + ----- Method: Linux32x86Config>>addVMDriversBuildMultiThreadedDebug: (in category 'cmake buildType redirects') ----- + addVMDriversBuildMultiThreadedDebug: aMaker + ^self addVMDriversBuild: aMaker!
Item was changed: + ----- Method: Linux32x86Config>>coreSourcesBuild (in category 'sources') ----- - ----- Method: Linux32x86Config>>coreSourcesBuild (in category 'cmake buildType redirects') ----- coreSourcesBuild "files to include from src/vm dir" ^ #( 'cogit.c' + 'gcc3x-cointerp.c' - 'cointerp.c' )!
Item was changed: ----- Method: Linux32x86Config>>defaultExternalPlugins (in category 'plugins') ----- defaultExternalPlugins " tty 2014.06.10 cut-n-paste from Cog/build.linux32x86/newspeak.cog.spur/build/plugins.ext" ^ #(B3DAcceleratorPlugin BochsIA32Plugin ThreadedFFIPlugin "moduleName->SqueakFFIPrims " "FFIPlugin" "moduleName->SqueakFFIPrims " SqueakSSLPlugin "moduleName->SqueakSSL" LocalePlugin UnixOSProcessPlugin UUIDPlugin)
"N.B. Regarding ThreadedFFIPlugin and FFIPlugin from eem:
Use ThreadedFFIPlugin. The FFIPlugin is obsolete (it requires assembler support files, and is non-reentrant). This should generate in src/plugins/SqueakFFIPrims/{SqueakFFIPrims.c,ARM32FFIPlugin.c,IA32FFIPlugin.c} and you should compile only src/plugins/SqueakFFIPrims/SqueakFFIPrims.c. src/plugins/SqueakFFIPrims/SqueakFFIPrims.c is a simple wrapper that includes ARM32FFIPlugin.c or IA32FFIPlugin.c as appropriate (and others can be added as they are developed).
"!
Item was changed: ----- Method: Linux32x86Config>>linkFlagsBuild (in category 'cmake buildType redirects') ----- linkFlagsBuild + "Answer array of libraries to link to + SystemNavigation default browseMethodsWhoseNamesContain: 'libsBuild'" - "Answer array of flags like the LIBS=''-lpthread -luuid'' line in the GNU system's mvm file - cat Cog/build.linux32x86/squeak.cog.v3/build/mvm SystemNavigation default browseMethodsWhoseNamesContain: 'libsBuild'" ^ { '-lpthread' . '-luuid' }!
Item was changed: ----- Method: Linux32x86SqueakCogV3Config>>compilerFlagsBuild (in category 'cmake buildType redirects') ----- compilerFlagsBuild "Some gcc versions (3.4*) create a broken VM using -O2, so try -O1 if you have problems" ^{ + '-g3' "more debugging" + .'-O1' "low optiomization level" - '-g0' - .'-O2' .'-m32' .'-msse2' .'-D_GNU_SOURCE' .'-D_FILE_OFFSET_BITS=64' + .'-DNDEBUG' "disable assertions" + .'-DLSB_FIRST=1' "" - .'-DNDEBUG' - .'-DLSB_FIRST=1' .'-DUSE_GLOBAL_STRUCT=0' .'-DDEBUGVM=0' .'-DCOGMTVM=0' .'-fno-tree-pre ' + .'-fno-caller-saves' + } - .'-fno-caller-saves'}
!
Item was changed: ----- Method: Linux32x86SqueakCogV3Config>>configureFlagsBuild (in category 'cmake buildType redirects') ----- configureFlagsBuild + ^{'-without-npsqueak' . ''}! - ^{'-without-npsqueak' }!
Item was removed: - Linux32x86SqueakCogV3Config subclass: #Linux32x86SqueakCogV3NoGLConfig - instanceVariableNames: '' - classVariableNames: '' - poolDictionaries: '' - category: 'CMakeVMMakerSqueak-Linux32x86'!
Item was removed: - ----- Method: Linux32x86SqueakCogV3NoGLConfig>>configHBuild (in category 'as yet unclassified') ----- - configHBuild - " right now its like that " - ^'/* config.h. Generated by configure. */ - /* config.h.in -- template for config.h -*- C -*- - * - * Copyright (C) 1996-2007 by Ian Piumarta and other authors/contributors - * listed elsewhere in this file. - * All rights reserved. - * - * This file is part of Unix Squeak. - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in - * all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - */ - - /* Author: Ian.Piumarta@squeakland.org - * - * Last edited: 2006-04-23 12:34:41 by piumarta on emilia.local - */ - - #ifndef __sq_config_h - #define __sq_config_h - - /* explicit image width */ - - #define HAVE_INTERP_H 1 - - /* package options */ - - #define USE_X11 1 - #define USE_X11_GLX 0 - /* #undef USE_QUARTZ */ - /* #undef USE_QUARTZ_CGL */ - /* #undef USE_RFB */ - - /* libraries */ - - /* #undef HAVE_LIBX11 */ - #define HAVE_LIBXEXT 1 - #define HAVE_LIBDL 1 - /* #undef HAVE_DYLD */ - /* #undef HAVE_LIBFFI */ - /* #undef HAVE_ICONV */ - - /* #undef USE_AUDIO_NONE */ - /* #undef USE_AUDIO_SUN */ - /* #undef USE_AUDIO_NAS */ - /* #undef USE_AUDIO_OSS */ - /* #undef USE_AUDIO_MACOSX */ - /* #undef OSS_DEVICE */ - - /* header files */ - - #define HAVE_UNISTD_H 1 - /* #undef NEED_GETHOSTNAME_P */ - - #define HAVE_DIRENT_H 1 - /* #undef HAVE_SYS_NDIR_H */ - /* #undef HAVE_SYS_DIR_H */ - /* #undef HAVE_NDIR_H */ - #define HAVE_DLFCN_H 1 - #define HAVE_ICONV_H 1 - - #define HAVE_SYS_TIME_H 1 - #define TIME_WITH_SYS_TIME 1 - - /* #undef HAVE_SYS_FILIO_H */ - - /* #undef HAVE_SYS_AUDIOIO_H */ - /* #undef HAVE_SUN_AUDIOIO_H */ - - #define HAVE_PTY_H 1 - /* #undef HAVE_UTIL_H */ - /* #undef HAVE_LIBUTIL_H */ - #define HAVE_STROPTS_H 1 - - /* #undef HAVE_GL_GL_H */ - /* #undef HAVE_OPENGL_GL_H */ - - /* #undef NEED_SUNOS_H */ - - /* system calls/library functions */ - - #define AT_EXIT atexit - - #define HAVE_TZSET 1 - - #define HAVE_OPENPTY 1 - /* #undef HAVE_UNIX98_PTYS */ - - #define HAVE_SNPRINTF 1 - /* #undef HAVE___SNPRINTF */ - - #define HAVE_MMAP 1 - - /* #undef HAVE_DYLD */ - - #define HAVE_LANGINFO_CODESET 1 - - #define HAVE_ALLOCA 1 - #define HAVE_ALLOCA_H 1 - - #define HAVE_UNSETENV 1 - - #define HAVE_NANOSLEEP 1 - - /* widths of primitive types */ - - #define SIZEOF_INT 4 - #define SIZEOF_LONG 4 - #define SIZEOF_LONG_LONG 8 - #define SIZEOF_VOID_P 4 - - /* structures */ - - #define HAVE_TM_GMTOFF 1 - #define HAVE_TIMEZONE 1 - - /* typedefs */ - - /* #undef size_t */ - /* #undef socklen_t */ - - #define squeakInt64 long long - - /* architecture */ - - #define OS_TYPE "unix" - - #define VM_HOST "x86_64-linux-gnu" - #define VM_HOST_CPU "x86_64" - /* #undef VM_HOST_VENDOR */ - #define VM_HOST_OS "linux-gnu" - #define VM_BUILD_STRING "Unix built on "__DATE__ " "__TIME__" Compiler: "__VERSION__ - - /* #undef WORDS_BIGENDIAN */ - /* #undef DOUBLE_WORD_ALIGNMENT */ - - /* damage containment */ - - /* #undef DARWIN */ - - #ifdef NEED_SUNOS_H - # include "sunos.h" - #endif - - /* other configured variables */ - - #define SQ_VERSION "4.2-0" - #define VM_VERSION "4.0-3020" - #define VM_MODULE_PREFIX "" - /* #undef VM_DLSYM_PREFIX */ - #define VM_X11DIR "/usr/lib" - - /* avoid dependencies on glibc2.3 */ - - #define HAVE_FEATURES_H 1 - - #if defined(HAVE_FEATURES_H) - # include "glibc.h" - #endif - - #endif /* __sq_config_h */ - '!
Item was removed: - ----- Method: Linux32x86SqueakCogV3NoGLConfig>>defaultExternalPlugins (in category 'as yet unclassified') ----- - defaultExternalPlugins - "Removed the B3DAcceleratorPlugin since we don't have OpenGL bindings here" - ^ (super defaultExternalPlugins copyWithoutAll: #(#B3DAcceleratorPlugin #ThreadedIA32FFIPlugin #InternetConfigPlugin #FT2Plugin #UUIDPlugin))!
Item was removed: - ----- Method: Linux32x86SqueakCogV3NoGLConfig>>defaultInternalPlugins (in category 'as yet unclassified') ----- - defaultInternalPlugins - "Removed the B3DAcceleratorPlugin since we don't have OpenGL bindings here" - ^ (super defaultInternalPlugins copyWithoutAll: #(#IA32ABIPlugin #BitBltSimulation #JoystickTabletPlugin #StarSqueakPlugin #SurfacePlugin #SqueakFFIPrims #ThreadedIA32FFIPlugin ))!
Item was removed: - ----- Method: Linux32x86SqueakCogV3NoGLConfig>>linkFlagsBuild (in category 'as yet unclassified') ----- - linkFlagsBuild - ^ {'-lSM' - . '-lICE ' - . '-ldl' - . '-lpthread' - . '-lm' - . '-lnsl' - . '-lX11' - . '-luuid'}!
Item was added: + ----- Method: Linux64Config>>addVMDriversBuild: (in category 'cmake buildType redirects') ----- + addVMDriversBuild: aMaker + aMaker message: 'addVMDrivers: aMaker'. + self + addDriver: 'vm-display-null' + sources: #( + '${targetPlatform}/vm-display-null/sqUnixDisplayNull' ) + generator: aMaker + externalLibs: #(); + + addDriver: 'vm-display-X11' + sources: #( + '${targetPlatform}/vm-display-X11/sqUnixX11' + '${targetPlatform}/vm-display-X11/sqUnixMozilla' ) + generator: aMaker + externalLibs: (self linkFlags); + + addDriver: 'vm-sound-ALSA' + sources: #( + '${targetPlatform}/vm-sound-ALSA/sqUnixSoundALSA' ) + generator: aMaker + externalLibs: #(); + + addDriver: 'vm-sound-null' + sources: #( + '${targetPlatform}/vm-sound-null/sqUnixSoundNull' ) + generator: aMaker + externalLibs: #(). + !
Item was added: + ----- Method: Linux64Config>>addVMDriversBuildAssert: (in category 'cmake buildType redirects') ----- + addVMDriversBuildAssert: aMaker + ^self addVMDriversBuild: aMaker!
Item was added: + ----- Method: Linux64Config>>addVMDriversBuildAssertITimerHeartbeat: (in category 'cmake buildType redirects') ----- + addVMDriversBuildAssertITimerHeartbeat: aMaker + ^self addVMDriversBuild: aMaker!
Item was added: + ----- Method: Linux64Config>>addVMDriversBuildDebug: (in category 'cmake buildType redirects') ----- + addVMDriversBuildDebug: aMaker + ^self addVMDriversBuild: aMaker!
Item was added: + ----- Method: Linux64Config>>addVMDriversBuildDebugITimerHeartbeat: (in category 'cmake buildType redirects') ----- + addVMDriversBuildDebugITimerHeartbeat: aMaker + ^self addVMDriversBuild: aMaker!
Item was added: + ----- Method: Linux64Config>>addVMDriversBuildITimerHeartbeat: (in category 'cmake buildType redirects') ----- + addVMDriversBuildITimerHeartbeat: aMaker + ^self addVMDriversBuild: aMaker!
Item was added: + ----- Method: Linux64Config>>addVMDriversBuildMultiThreaded: (in category 'cmake buildType redirects') ----- + addVMDriversBuildMultiThreaded: aMaker + ^self addVMDriversBuild: aMaker!
Item was added: + ----- Method: Linux64Config>>addVMDriversBuildMultiThreadedAssert: (in category 'cmake buildType redirects') ----- + addVMDriversBuildMultiThreadedAssert: aMaker + ^self addVMDriversBuild: aMaker!
Item was added: + ----- Method: Linux64Config>>addVMDriversBuildMultiThreadedDebug: (in category 'cmake buildType redirects') ----- + addVMDriversBuildMultiThreadedDebug: aMaker + ^self addVMDriversBuild: aMaker!
Item was added: + ----- Method: Linux64x86w32BitConfig>>addVMDrivers: (in category 'cmake buildType redirects') ----- + addVMDrivers: maker + " + libICE + ICE is the Inter Client Exchange protocol, part of X11 + + libSM + session management library for X11 + + " + self + addDriver: 'vm-display-null' + sources: #( + '${targetPlatform}/vm-display-null/sqUnixDisplayNull' ) + generator: maker + externalLibs: #(); + + + addDriver: 'vm-display-X11' + sources: #( + '${targetPlatform}/vm-display-X11/sqUnixX11' + '${targetPlatform}/vm-display-X11/sqUnixMozilla' ) + generator: maker + + "-lSM -lICE -ldl -lGL -lpthread -lm -lnsl -lX11'" + externalLibs: #( SM ICE GL X11 nsl dl); + + + addDriver: 'vm-sound-ALSA' + sources: #( + '${targetPlatform}/vm-sound-ALSA/sqUnixSoundALSA' ) + generator: maker + externalLibs: #(); + + addDriver: 'vm-sound-null' + sources: #( + '${targetPlatform}/vm-sound-null/sqUnixSoundNull' ) + generator: maker + externalLibs: #(). + + " + vm-display-null + vm-display-X11 + vm-sound-ALSA + vm-sound-null"!
Item was added: + ----- Method: Linux64x86w32BitConfig>>addVMDriversBuild: (in category 'cmake buildType redirects') ----- + addVMDriversBuild: aMaker + aMaker message: 'addVMDrivers: aMaker'. + self + addDriver: 'vm-display-null' + sources: #( + '${targetPlatform}/vm-display-null/sqUnixDisplayNull' ) + generator: aMaker + externalLibs: #(); + + addDriver: 'vm-display-X11' + sources: #( + '${targetPlatform}/vm-display-X11/sqUnixX11' + '${targetPlatform}/vm-display-X11/sqUnixMozilla' ) + generator: aMaker + externalLibs: #( SM ICE GL X11 nsl dl); "(self linkFlags);" + + addDriver: 'vm-sound-ALSA' + sources: #( + '${targetPlatform}/vm-sound-ALSA/sqUnixSoundALSA' ) + generator: aMaker + externalLibs: #(); + + addDriver: 'vm-sound-null' + sources: #( + '${targetPlatform}/vm-sound-null/sqUnixSoundNull' ) + generator: aMaker + externalLibs: #(). + !
Item was added: + ----- Method: Linux64x86w32BitConfig>>addVMDriversBuildAssert: (in category 'cmake buildType redirects') ----- + addVMDriversBuildAssert: aMaker + ^self addVMDriversBuild: aMaker!
Item was added: + ----- Method: Linux64x86w32BitConfig>>addVMDriversBuildAssertITimerHeartbeat: (in category 'cmake buildType redirects') ----- + addVMDriversBuildAssertITimerHeartbeat: aMaker + ^self addVMDriversBuild: aMaker!
Item was added: + ----- Method: Linux64x86w32BitConfig>>addVMDriversBuildDebug: (in category 'cmake buildType redirects') ----- + addVMDriversBuildDebug: aMaker + ^self addVMDriversBuild: aMaker!
Item was added: + ----- Method: Linux64x86w32BitConfig>>addVMDriversBuildDebugITimerHeartbeat: (in category 'cmake buildType redirects') ----- + addVMDriversBuildDebugITimerHeartbeat: aMaker + ^self addVMDriversBuild: aMaker!
Item was added: + ----- Method: Linux64x86w32BitConfig>>addVMDriversBuildITimerHeartbeat: (in category 'cmake buildType redirects') ----- + addVMDriversBuildITimerHeartbeat: aMaker + ^self addVMDriversBuild: aMaker!
Item was added: + ----- Method: Linux64x86w32BitConfig>>addVMDriversBuildMultiThreaded: (in category 'cmake buildType redirects') ----- + addVMDriversBuildMultiThreaded: aMaker + ^self addVMDriversBuild: aMaker!
Item was added: + ----- Method: Linux64x86w32BitConfig>>addVMDriversBuildMultiThreadedAssert: (in category 'cmake buildType redirects') ----- + addVMDriversBuildMultiThreadedAssert: aMaker + ^self addVMDriversBuild: aMaker!
Item was added: + ----- Method: Linux64x86w32BitConfig>>addVMDriversBuildMultiThreadedDebug: (in category 'cmake buildType redirects') ----- + addVMDriversBuildMultiThreadedDebug: aMaker + ^self addVMDriversBuild: aMaker!
Item was removed: - ----- Method: Linux64x86w32BitConfig>>commonCompilerFlags (in category 'compiler flags') ----- - commonCompilerFlags - "avoid premature optimization. push this decision down lower if it is needed at all" - ^{'-m32'} - !
Item was changed: ----- Method: Linux64x86w32BitConfig>>configHBuild (in category 'cmake buildType redirects') ----- configHBuild self flag:'tty'. "This needs to be customized" ^ ' #ifndef __sq_config_h #define __sq_config_h
/* explicit image width */
#define HAVE_INTERP_H 1
/* package options */
#define USE_X11 1 #define USE_X11_GLX 1 /* #undef USE_QUARTZ */ /* #undef USE_QUARTZ_CGL */ /* #undef USE_RFB */
/* libraries */
/* #undef HAVE_LIBX11 */ /* #undef HAVE_LIBXEXT */ #define HAVE_LIBDL 1 /* #undef HAVE_DYLD */ /* #undef HAVE_LIBFFI */ /* #undef HAVE_ICONV */
/* #undef USE_AUDIO_NONE */ /* #undef USE_AUDIO_SUN */ /* #undef USE_AUDIO_NAS */ /* #undef USE_AUDIO_OSS */ /* #undef USE_AUDIO_MACOSX */ /* #undef OSS_DEVICE */
/* header files */
#define HAVE_UNISTD_H 1 /* #undef NEED_GETHOSTNAME_P */
#define HAVE_DIRENT_H 1 /* #undef HAVE_SYS_NDIR_H */ /* #undef HAVE_SYS_DIR_H */ /* #undef HAVE_NDIR_H */ #define HAVE_DLFCN_H 1 #define HAVE_ICONV_H 1
#define HAVE_SYS_TIME_H 1 #define TIME_WITH_SYS_TIME 1
/* #undef HAVE_SYS_FILIO_H */
/* #undef HAVE_SYS_AUDIOIO_H */ /* #undef HAVE_SUN_AUDIOIO_H */
#define HAVE_PTY_H 1 /* #undef HAVE_UTIL_H */ /* #undef HAVE_LIBUTIL_H */ #define HAVE_STROPTS_H 1
#define HAVE_GL_GL_H 1 /* #undef HAVE_OPENGL_GL_H */
/* #undef NEED_SUNOS_H */
/* system calls/library functions */
#define AT_EXIT atexit
#define HAVE_TZSET 1
#define HAVE_OPENPTY 1 /* #undef HAVE_UNIX98_PTYS */
#define HAVE_SNPRINTF 1 /* #undef HAVE___SNPRINTF */
#define HAVE_MMAP 1
/* #undef HAVE_DYLD */
#define HAVE_LANGINFO_CODESET 1
#define HAVE_ALLOCA 1 #define HAVE_ALLOCA_H 1
#define HAVE_UNSETENV 1
#define HAVE_NANOSLEEP 1
/* widths of primitive types */
#define SIZEOF_INT 4 #define SIZEOF_LONG 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_VOID_P 4
/* structures */
#define HAVE_TM_GMTOFF 1 #define HAVE_TIMEZONE 1
/* typedefs */
/* #undef size_t */ /* #undef socklen_t */
#define ENABLE_FAST_BLT 1 #define squeakInt64 long long
/* architecture */
#define OS_TYPE "unix" #define __arm__ 1 #define __ARM_ARCH_6__ 1 #define VM_HOST "arm-pc-linux-gnu" #define VM_HOST_CPU "arm" /* #undef VM_HOST_VENDOR */ #define VM_HOST_OS "linux-gnu" #define VM_BUILD_STRING "Unix built on "__DATE__ " "__TIME__" Compiler: "__VERSION__
/* #undef WORDS_BIGENDIAN */ /* #undef DOUBLE_WORD_ALIGNMENT */
/* damage containment */
/* #undef DARWIN */
#ifdef NEED_SUNOS_H # include "sunos.h" #endif
/* other configured variables */
#define SQ_VERSION "3.9a-7024" #define VM_VERSION "3.9-7" #define VM_MODULE_PREFIX "" /* #undef VM_DLSYM_PREFIX */ #define VM_X11DIR ""
/* avoid dependencies on glibc2.3 */
#define HAVE_FEATURES_H 1
#if defined(HAVE_FEATURES_H) # include "glibc.h" #endif
/* used by UUID plugin: */
#define HAVE_UUID_H 1
#endif /* __sq_config_h */ '!
Item was removed: - ----- Method: Linux64x86w32BitConfig>>extraPluginSettings: (in category 'plugin extra rules') ----- - extraPluginSettings: maker - super extraPluginSettings: maker. - maker set: #linkFlags toString: '${linkFlags} -m32'!
Item was changed: ----- Method: Linux64x86w32BitConfig>>extraVMSettingsBuild: (in category 'cmake buildType redirects') ----- extraVMSettingsBuild: aMaker "SystemNavigation default browseMethodsWhoseNamesContain: 'extraVMSettingsBuild:'"
| versionC | + aMaker message: 'extraVMSettingsBuild: aMaker'. self generateConfigH. "add a generated version.c" versionC := 'version.c'. aMaker cmd: 'add_custom_command' params: 'OUTPUT ', versionC , ' COMMAND ${platformsDir}/unix/config/verstamp ',versionC,' gcc COMMENT "Generating version.c" '. !
Item was removed: - ----- Method: Linux64x86w32BitConfig>>linkFlags (in category 'accessing') ----- - linkFlags - " ^ super linkFlags , ' -luuid -lSM -lICE -ldl -lGL -lpthread -lm -lnsl -lX11'" - ^ super linkFlags , ' -luuid -lSM -lICE -ldl -lpthread -lm -lnsl -lX11' - - !
Item was changed: ----- Method: Linux64x86w32BitConfig>>postBuildActionsBuild: (in category 'cmake buildType redirects') ----- + postBuildActionsBuild: aMaker + "SystemNavigation default browseMethodsWhoseNamesContain: 'postBuildActionsBuild:'" + aMaker message: 'postBuildActionsBuild: aMaker'.! - postBuildActionsBuild: gen - "SystemNavigation default browseMethodsWhoseNamesContain: 'postBuildActionsBuild:'"!
Item was added: + ----- Method: Linux64x86w32BitConfig>>postBuildActionsBuildMultiThreadedAssert: (in category 'cmake buildType redirects') ----- + postBuildActionsBuildMultiThreadedAssert: aMaker + ^self postBuildActionsBuild: aMaker!
Item was changed: ----- Method: Linux64x86w32BitConfig>>setExtraTargetPropertiesBuild: (in category 'cmake buildType redirects') ----- setExtraTargetPropertiesBuild: aMaker self flag:'tty'. "I am nervous about this method up here in this class, but pharo has it in CogUnixConfig, so using as is for now"
+ + aMaker message: 'setExtraTargetPropertiesBuild: aMaker'. + - aMaker setTargetProperties: 'LINK_FLAGS "-m32"'. - aMaker puts: 'set_source_files_properties( ${srcVMDir}/cogit.c PROPERTIES + COMPILE_FLAGS "' , self compilerFlags , '")'. - COMPILE_FLAGS "-O1 -fno-omit-frame-pointer -momit-leaf-frame-pointer -mno-rtd -mno-accumulate-outgoing-args")'. aMaker cmd: 'set_source_files_properties' params: ' ${targetPlatform}/vm/sqUnixHeartbeat.c PROPERTIES + COMPILE_FLAGS "' , self compilerFlags , '"'. + " - COMPILE_FLAGS "-O1 -fno-omit-frame-pointer -mno-rtd -mno-accumulate-outgoing-args"'. - aMaker addExternalLibraries: #( 'uuid' "" 'ssl' "" 'crypto' "" + 'm' + 'dl' + 'pthread' ). + + " + aMaker set: 'EXECUTABLE_OUTPUT_PATH' toString: self outputDir fullName. + self addVMDrivers: aMaker.! - - !
Item was changed: ----- Method: Linux64x86w32BitConfig>>setGlobalOptionsAfterDetermineSystemBuild: (in category 'cmake buildType redirects') ----- setGlobalOptionsAfterDetermineSystemBuild: aMaker " SystemNavigation default browseMethodsWhoseNamesContain: 'setGlobalOptionsAfterDetermineSystemBuild:'" + aMaker message: 'setGlobalOptionsAfterDetermineSystemBuild: aMaker'. ! - !
Item was changed: ----- Method: Linux64x86w32BitConfig>>setGlobalOptionsBuild: (in category 'cmake buildType redirects') ----- setGlobalOptionsBuild: aMaker + aMaker message: 'setGlobalOptionsBuild: aMaker'. - aMaker set: 'CMAKE_C_COMPILER' to: '/usr/bin/gcc'. - aMaker set: 'CMAKE_CXX_COMPILER' to: '/usr/bin/g++'. " maker set: 'CMAKE_LIBRARY_PATH ${CMAKE_LIBRARY_PATH}' to: ' /usr/lib/gcc/x86_64-slackware-linux/4.8.2/'. set any CMake global options, before declaring a project in cmake file set(CMAKE_LIBRARY_PATH ${CMAKE_LIBRARY_PATH} /opt/local/lib) SystemNavigation default browseMethodsWhoseNamesContain: 'setGlobalOptions:' "!
Item was added: + Linux64x86w32BitConfig subclass: #Linux64x86w32BitSqueakCogV3Config + instanceVariableNames: '' + classVariableNames: '' + poolDictionaries: '' + category: 'CMakeVMMakerSqueak-Linux64X86-32BitCompatibility'! + + !Linux64x86w32BitSqueakCogV3Config commentStamp: 'tty 6/15/2014 18:26' prior: 0! + A slightly modified configuration, which avoids linking with openGL libraries. + + SqueakLinux64x86w32CompatBuilder + configureABuildFor: #Linux32x86SqueakCogV3NoGLConfig withBuildType: #build; + generateSources; + generate. + + HelpBrowser openOn: CMakeVMMakerSqueakEndUserHelp + HelpBrowser openOn: CMakeVMMakerSqueakDeveloperHelp + + + Getting the UUIDPlugin to compile (not work, unfortunately, but compile) required modifying oscogvm/platforms/unix/plugins/acinclude.m4. + to read: (my Slackware system has <uuid> and uuidgen. then setting the + + # -*- sh -*- + + AC_MSG_CHECKING([for UUID support]) + AC_TRY_COMPILE([#include <sys/uuid.h>],[uuid_generatorxyz;],[ + AC_MSG_RESULT(yes) + AC_CHECK_LIB(uuid, uuid_generator_xyz,LIB_UUID="-luuid" ) + ],[ + AC_MSG_RESULT(no) + AC_MSG_CHECKING([for UUID support uuid/uuid.h] and uuid_generate) + AC_TRY_COMPILE([#include <uuid/uuid.h>],[uuid_generate;],[ + AC_MSG_RESULT(yes) + AC_CHECK_LIB(uuid, uuid_generate, LIB_UUID="-luuid")],[ + AC_MSG_RESULT(no) + AC_MSG_CHECKING([for UUID support uuid and uuidgen] ) + AC_TRY_COMPILE([#include <uuid.h>],[uuidgen;],[ + AC_MSG_RESULT(yes) + AC_CHECK_LIB(uuid, uuidgen, LIB_UUID="-luuid" )],[ + AC_MSG_RESULT(no) + AC_PLUGIN_DISABLE + ]) + ]) + ]) + + + + + #define HAVE_UUID_H 1 + #define HAVE_UUIDGEN 1 + + fl;ags in my configH method + + !
Item was added: + ----- Method: Linux64x86w32BitSqueakCogV3Config>>cogitClass (in category 'source generation') ----- + cogitClass + ^ StackToRegisterMappingCogit + !
Item was added: + ----- Method: Linux64x86w32BitSqueakCogV3Config>>compilerFlagsBuild (in category 'cmake buildType redirects') ----- + compilerFlagsBuild + "Some gcc versions (3.4*) create a broken VM using -O2, so try -O1 if you have problems" + ^{ + '-g3' "more debugging" + .'-O1' "low optimization level" + .'-m32' + .'-msse2' + .'-D_GNU_SOURCE' + .'-D_FILE_OFFSET_BITS=64' + .'-DNDEBUG' "disable assertions" + .'-DLSB_FIRST=1' "" + .'-DUSE_GLOBAL_STRUCT=0' + .'-DDEBUGVM=0' + .'-DCOGMTVM=0' + .'-fno-tree-pre ' + .'-fno-caller-saves' + } + + !
Item was added: + ----- Method: Linux64x86w32BitSqueakCogV3Config>>compilerFlagsBuildAssert (in category 'cmake buildType redirects') ----- + compilerFlagsBuildAssert + ^self compilerFlagsBuild + !
Item was added: + ----- Method: Linux64x86w32BitSqueakCogV3Config>>compilerFlagsBuildAssertITimerHeartbeat (in category 'cmake buildType redirects') ----- + compilerFlagsBuildAssertITimerHeartbeat + ^self compilerFlagsBuild + !
Item was added: + ----- Method: Linux64x86w32BitSqueakCogV3Config>>compilerFlagsBuildDebug (in category 'cmake buildType redirects') ----- + compilerFlagsBuildDebug + ^self compilerFlagsBuild + !
Item was added: + ----- Method: Linux64x86w32BitSqueakCogV3Config>>compilerFlagsBuildDebugITimerHeartbeat (in category 'cmake buildType redirects') ----- + compilerFlagsBuildDebugITimerHeartbeat + ^self compilerFlagsBuild + !
Item was added: + ----- Method: Linux64x86w32BitSqueakCogV3Config>>compilerFlagsBuildITimerHeartbeat (in category 'cmake buildType redirects') ----- + compilerFlagsBuildITimerHeartbeat + ^self compilerFlagsBuild + !
Item was added: + ----- Method: Linux64x86w32BitSqueakCogV3Config>>compilerFlagsBuildMultiThreaded (in category 'cmake buildType redirects') ----- + compilerFlagsBuildMultiThreaded + ^self compilerFlagsBuild + !
Item was added: + ----- Method: Linux64x86w32BitSqueakCogV3Config>>compilerFlagsBuildMultiThreadedAssert (in category 'cmake buildType redirects') ----- + compilerFlagsBuildMultiThreadedAssert + ^self compilerFlagsBuild + !
Item was added: + ----- Method: Linux64x86w32BitSqueakCogV3Config>>compilerFlagsBuildMultiThreadedDebug (in category 'cmake buildType redirects') ----- + compilerFlagsBuildMultiThreadedDebug + ^self compilerFlagsBuild + !
Item was added: + ----- Method: Linux64x86w32BitSqueakCogV3Config>>configHBuild (in category 'headers generation') ----- + configHBuild + ^ ' + + #define HAVE_UUID_H 1 + #define HAVE_UUIDGEN 1 + + #ifndef __sq_config_h + #define __sq_config_h + + /* explicit image width */ + + #define HAVE_INTERP_H 1 + + /* package options */ + + #define USE_X11 1 + + #undef USE_X11_GLX + /* #undef USE_QUARTZ */ + /* #undef USE_QUARTZ_CGL */ + /* #undef USE_RFB */ + + /* libraries */ + + /* #undef HAVE_LIBX11 */ + /* #undef HAVE_LIBXEXT */ + #define HAVE_LIBDL 1 + /* #undef HAVE_DYLD */ + /* #undef HAVE_LIBFFI */ + /* #undef HAVE_ICONV */ + + /* #undef USE_AUDIO_NONE */ + /* #undef USE_AUDIO_SUN */ + /* #undef USE_AUDIO_NAS */ + /* #undef USE_AUDIO_OSS */ + /* #undef USE_AUDIO_MACOSX */ + /* #undef OSS_DEVICE */ + + /* header files */ + + #define HAVE_UNISTD_H 1 + /* #undef NEED_GETHOSTNAME_P */ + + #define HAVE_DIRENT_H 1 + /* #undef HAVE_SYS_NDIR_H */ + /* #undef HAVE_SYS_DIR_H */ + /* #undef HAVE_NDIR_H */ + #define HAVE_DLFCN_H 1 + #define HAVE_ICONV_H 1 + + #define HAVE_SYS_TIME_H 1 + #define TIME_WITH_SYS_TIME 1 + + /* #undef HAVE_SYS_FILIO_H */ + + /* #undef HAVE_SYS_AUDIOIO_H */ + /* #undef HAVE_SUN_AUDIOIO_H */ + + #define HAVE_PTY_H 1 + /* #undef HAVE_UTIL_H */ + /* #undef HAVE_LIBUTIL_H */ + #define HAVE_STROPTS_H 1 + + #undef HAVE_GL_GL_H + #undef HAVE_OPENGL_GL_H + + /* #undef NEED_SUNOS_H */ + + /* system calls/library functions */ + + #define AT_EXIT atexit + + #define HAVE_TZSET 1 + + #define HAVE_OPENPTY 1 + /* #undef HAVE_UNIX98_PTYS */ + + #define HAVE_SNPRINTF 1 + /* #undef HAVE___SNPRINTF */ + + #define HAVE_MMAP 1 + + /* #undef HAVE_DYLD */ + + #define HAVE_LANGINFO_CODESET 1 + + #define HAVE_ALLOCA 1 + #define HAVE_ALLOCA_H 1 + + #define HAVE_UNSETENV 1 + + #define HAVE_NANOSLEEP 1 + + /* widths of primitive types */ + + #define SIZEOF_INT 4 + #define SIZEOF_LONG 4 + #define SIZEOF_LONG_LONG 8 + #define SIZEOF_VOID_P 4 + + /* structures */ + + #define HAVE_TM_GMTOFF 1 + #define HAVE_TIMEZONE 1 + + /* typedefs */ + + /* #undef size_t */ + /* #undef socklen_t */ + + #define squeakInt64 long long + + /* architecture */ + + #define OS_TYPE "unix" + + #define VM_HOST "i686-pc-linux-gnu" + #define VM_HOST_CPU "i686" + /* #undef VM_HOST_VENDOR */ + #define VM_HOST_OS "linux-gnu" + #define VM_BUILD_STRING "Unix built on "__DATE__ " "__TIME__" Compiler: "__VERSION__ + + /* #undef WORDS_BIGENDIAN */ + /* #undef DOUBLE_WORD_ALIGNMENT */ + + /* damage containment */ + + /* #undef DARWIN */ + + #ifdef NEED_SUNOS_H + # include "sunos.h" + #endif + + /* other configured variables */ + + #define SQ_VERSION "3.9a-7024" + #define VM_VERSION "3.9-7" + #define VM_MODULE_PREFIX "" + /* #undef VM_DLSYM_PREFIX */ + #define VM_X11DIR "" + + /* avoid dependencies on glibc2.3 */ + + #define HAVE_FEATURES_H 1 + + #if defined(HAVE_FEATURES_H) + # include "glibc.h" + #endif + + #endif /* __sq_config_h */ + + '!
Item was added: + ----- Method: Linux64x86w32BitSqueakCogV3Config>>configureFlagsBuild (in category 'cmake buildType redirects') ----- + configureFlagsBuild + ^{'-without-npsqueak' . '--without-vm-display-fbdev' . '--x-libraries=/usr/lib' } !
Item was added: + ----- Method: Linux64x86w32BitSqueakCogV3Config>>configureFlagsBuildAssert (in category 'cmake buildType redirects') ----- + configureFlagsBuildAssert + ^self configureFlagsBuild!
Item was added: + ----- Method: Linux64x86w32BitSqueakCogV3Config>>configureFlagsBuildAssertITimerHeartbeat (in category 'cmake buildType redirects') ----- + configureFlagsBuildAssertITimerHeartbeat + ^self configureFlagsBuild!
Item was added: + ----- Method: Linux64x86w32BitSqueakCogV3Config>>configureFlagsBuildDebug (in category 'cmake buildType redirects') ----- + configureFlagsBuildDebug + ^self configureFlagsBuild!
Item was added: + ----- Method: Linux64x86w32BitSqueakCogV3Config>>configureFlagsBuildDebugITimerHeartbeat (in category 'cmake buildType redirects') ----- + configureFlagsBuildDebugITimerHeartbeat + ^self configureFlagsBuild!
Item was added: + ----- Method: Linux64x86w32BitSqueakCogV3Config>>configureFlagsBuildITimerHeartbeat (in category 'cmake buildType redirects') ----- + configureFlagsBuildITimerHeartbeat + ^self configureFlagsBuild!
Item was added: + ----- Method: Linux64x86w32BitSqueakCogV3Config>>configureFlagsBuildMultiThreaded (in category 'cmake buildType redirects') ----- + configureFlagsBuildMultiThreaded + ^self configureFlagsBuild!
Item was added: + ----- Method: Linux64x86w32BitSqueakCogV3Config>>configureFlagsBuildMultiThreadedAssert (in category 'cmake buildType redirects') ----- + configureFlagsBuildMultiThreadedAssert + ^self configureFlagsBuild!
Item was added: + ----- Method: Linux64x86w32BitSqueakCogV3Config>>configureFlagsBuildMultiThreadedDebug (in category 'cmake buildType redirects') ----- + configureFlagsBuildMultiThreadedDebug + ^self configureFlagsBuild!
Item was added: + ----- Method: Linux64x86w32BitSqueakCogV3Config>>defaultExternalPlugins (in category 'plugins') ----- + defaultExternalPlugins + "" + ^ (super defaultExternalPlugins copyWithoutAll: #(BochsIA32Plugin #UUIDPlugin))!
Item was added: + ----- Method: Linux64x86w32BitSqueakCogV3Config>>dirBuildLanguageVMMM (in category 'cmake directory ') ----- + dirBuildLanguageVMMM + ^self squeakCogV3!
Item was added: + ----- Method: Linux64x86w32BitSqueakCogV3Config>>dirInstall (in category 'cmake') ----- + dirInstall + "the directory of the finished product.. the place where 'make install' puts stuff. + SystemNavigation default browseMethodsWhoseNamesContain: 'outputDir' + " + ^self squeakCogV3 , '.noGL'!
Item was added: + ----- Method: Linux64x86w32BitSqueakCogV3Config>>excludeFromBuild (in category 'cmake') ----- + excludeFromBuild + ^false "build this configuration" + " ^true" + + !
Item was added: + ----- Method: Linux64x86w32BitSqueakCogV3Config>>executableName (in category 'cmake') ----- + executableName + ^ self vmCogExecutableName!
Item was added: + ----- Method: Linux64x86w32BitSqueakCogV3Config>>interpreterClass (in category 'source generation') ----- + interpreterClass + ^ CoInterpreter!
Item was added: + ----- Method: Linux64x86w32BitSqueakCogV3Config>>lDFlagsBuild (in category 'cmake buildType redirects') ----- + lDFlagsBuild + "Answer array of flags like the LDFLAGS=-Wl,-z,now line in the GNU system's mvm file cat Cog/build.linux32x86/squeak.cog.v3/build/mvm" + ^ { + '-Wl' + . '-z' + . 'now' + + } + !
Item was added: + ----- Method: Linux64x86w32BitSqueakCogV3Config>>lDFlagsBuildAssert (in category 'cmake buildType redirects') ----- + lDFlagsBuildAssert + "Answer array of flags like the LDFLAGS=-Wl,-z,now line in the GNU system's mvm file cat Cog/build.linux32x86/squeak.cog.v3/build/mvm" + ^self lDFlagsBuild!
Item was added: + ----- Method: Linux64x86w32BitSqueakCogV3Config>>lDFlagsBuildAssertITimerHeartbeat (in category 'cmake buildType redirects') ----- + lDFlagsBuildAssertITimerHeartbeat + "Answer array of flags like the LDFLAGS=-Wl,-z,now line in the GNU system's mvm file cat Cog/build.linux32x86/squeak.cog.v3/build/mvm" + ^self lDFlagsBuild!
Item was added: + ----- Method: Linux64x86w32BitSqueakCogV3Config>>lDFlagsBuildDebug (in category 'cmake buildType redirects') ----- + lDFlagsBuildDebug + "Answer array of flags like the LDFLAGS=-Wl,-z,now line in the GNU system's mvm file cat Cog/build.linux32x86/squeak.cog.v3/build/mvm" + ^self lDFlagsBuild!
Item was added: + ----- Method: Linux64x86w32BitSqueakCogV3Config>>lDFlagsBuildDebugITimerHeartbeat (in category 'cmake buildType redirects') ----- + lDFlagsBuildDebugITimerHeartbeat + "Answer array of flags like the LDFLAGS=-Wl,-z,now line in the GNU system's mvm file cat Cog/build.linux32x86/squeak.cog.v3/build/mvm" + ^self lDFlagsBuild!
Item was added: + ----- Method: Linux64x86w32BitSqueakCogV3Config>>lDFlagsBuildITimerHeartbeat (in category 'cmake buildType redirects') ----- + lDFlagsBuildITimerHeartbeat + "Answer array of flags like the LDFLAGS=-Wl,-z,now line in the GNU system's mvm file cat Cog/build.linux32x86/squeak.cog.v3/build/mvm" + ^self lDFlagsBuild!
Item was added: + ----- Method: Linux64x86w32BitSqueakCogV3Config>>lDFlagsBuildMultiThreaded (in category 'cmake buildType redirects') ----- + lDFlagsBuildMultiThreaded + "Answer array of flags like the LDFLAGS=-Wl,-z,now line in the GNU system's mvm file cat Cog/build.linux32x86/squeak.cog.v3/build/mvm" + ^self lDFlagsBuild!
Item was added: + ----- Method: Linux64x86w32BitSqueakCogV3Config>>lDFlagsBuildMultiThreadedAssert (in category 'cmake buildType redirects') ----- + lDFlagsBuildMultiThreadedAssert + "Answer array of flags like the LDFLAGS=-Wl,-z,now line in the GNU system's mvm file cat Cog/build.linux32x86/squeak.cog.v3/build/mvm" + ^self lDFlagsBuild!
Item was added: + ----- Method: Linux64x86w32BitSqueakCogV3Config>>lDFlagsBuildMultiThreadedDebug (in category 'cmake buildType redirects') ----- + lDFlagsBuildMultiThreadedDebug + "Answer array of flags like the LDFLAGS=-Wl,-z,now line in the GNU system's mvm file cat Cog/build.linux32x86/squeak.cog.v3/build/mvm" + ^self lDFlagsBuild!
Item was added: + ----- Method: Linux64x86w32BitSqueakCogV3Config>>linkFlagsBuild (in category 'cmake buildType redirects') ----- + linkFlagsBuild + "Answer array of libraries to link to" + ^ { + '-luuid' + . 'lSM' + . '-lICE' + . '-ldl' + . '-lGL' + . '-lpthread' + . '-lm' + . '-lnsl' + . '-lX11' + } + !
Item was added: + ----- Method: Linux64x86w32BitSqueakCogV3Config>>linkFlagsBuildAssert (in category 'cmake buildType redirects') ----- + linkFlagsBuildAssert + ^self linkFlagsBuild!
Item was added: + ----- Method: Linux64x86w32BitSqueakCogV3Config>>linkFlagsBuildAssertITimerHeartbeat (in category 'cmake buildType redirects') ----- + linkFlagsBuildAssertITimerHeartbeat + ^self linkFlagsBuild!
Item was added: + ----- Method: Linux64x86w32BitSqueakCogV3Config>>linkFlagsBuildDebug (in category 'cmake buildType redirects') ----- + linkFlagsBuildDebug + ^self linkFlagsBuild!
Item was added: + ----- Method: Linux64x86w32BitSqueakCogV3Config>>linkFlagsBuildDebugITimerHeartbeat (in category 'cmake buildType redirects') ----- + linkFlagsBuildDebugITimerHeartbeat + ^self linkFlagsBuild!
Item was added: + ----- Method: Linux64x86w32BitSqueakCogV3Config>>linkFlagsBuildITimerHeartbeat (in category 'cmake buildType redirects') ----- + linkFlagsBuildITimerHeartbeat + ^self linkFlagsBuild!
Item was added: + ----- Method: Linux64x86w32BitSqueakCogV3Config>>linkFlagsBuildMultiThreaded (in category 'cmake buildType redirects') ----- + linkFlagsBuildMultiThreaded + ^self linkFlagsBuild!
Item was added: + ----- Method: Linux64x86w32BitSqueakCogV3Config>>linkFlagsBuildMultiThreadedAssert (in category 'cmake buildType redirects') ----- + linkFlagsBuildMultiThreadedAssert + ^self linkFlagsBuild!
Item was added: + ----- Method: Linux64x86w32BitSqueakCogV3Config>>linkFlagsBuildMultiThreadedDebug (in category 'cmake buildType redirects') ----- + linkFlagsBuildMultiThreadedDebug + ^self linkFlagsBuild!
Item was removed: - Linux64x86w32BitConfig subclass: #Linux64x86w32BitSqueakCogV3SlackwareConfig - instanceVariableNames: '' - classVariableNames: '' - poolDictionaries: '' - category: 'CMakeVMMakerSqueak-Linux64X86-32BitCompatibility'! - - !Linux64x86w32BitSqueakCogV3SlackwareConfig commentStamp: 'tty 6/15/2014 18:26' prior: 0! - A slightly modified configuration, which avoids linking with openGL libraries. - - SqueakLinux64x86w32CompatBuilder - configureABuildFor: #Linux32x86SqueakCogV3NoGLConfig withBuildType: #build; - generateSources; - generate. - - HelpBrowser openOn: CMakeVMMakerSqueakEndUserHelp - HelpBrowser openOn: CMakeVMMakerSqueakDeveloperHelp - - - Getting the UUIDPlugin to compile (not work, unfortunately, but compile) required modifying oscogvm/platforms/unix/plugins/acinclude.m4. - to read: (my Slackware system has <uuid> and uuidgen. then setting the - - # -*- sh -*- - - AC_MSG_CHECKING([for UUID support]) - AC_TRY_COMPILE([#include <sys/uuid.h>],[uuid_generatorxyz;],[ - AC_MSG_RESULT(yes) - AC_CHECK_LIB(uuid, uuid_generator_xyz,LIB_UUID="-luuid" ) - ],[ - AC_MSG_RESULT(no) - AC_MSG_CHECKING([for UUID support uuid/uuid.h] and uuid_generate) - AC_TRY_COMPILE([#include <uuid/uuid.h>],[uuid_generate;],[ - AC_MSG_RESULT(yes) - AC_CHECK_LIB(uuid, uuid_generate, LIB_UUID="-luuid")],[ - AC_MSG_RESULT(no) - AC_MSG_CHECKING([for UUID support uuid and uuidgen] ) - AC_TRY_COMPILE([#include <uuid.h>],[uuidgen;],[ - AC_MSG_RESULT(yes) - AC_CHECK_LIB(uuid, uuidgen, LIB_UUID="-luuid" )],[ - AC_MSG_RESULT(no) - AC_PLUGIN_DISABLE - ]) - ]) - ]) - - - - - #define HAVE_UUID_H 1 - #define HAVE_UUIDGEN 1 - - fl;ags in my configH method - - !
Item was removed: - ----- Method: Linux64x86w32BitSqueakCogV3SlackwareConfig>>addDriver:sources:generator: (in category 'utils') ----- - addDriver: name sources: aSources generator: cmakeGen - - | cfg srcs | - - srcs := aSources inject: '' into: [:res :each | res , ' "', each, '"' ]. - cfg := cmakeGen - captureOutputDuring: [ - cmakeGen printHeader; - project: name; - include: '../directories.cmake'; - - message: 'Adding module: ', name; - - addDefinitions: self compilerFlags; - addDefinitions: '-fPIC -DPIC'; - set: #sources to: srcs; - cmd: 'add_library' params: name, ' SHARED ${sources}'; - includeDirectories: '${crossDir}/plugins/FilePlugin'; - set: 'LIBRARY_OUTPUT_PATH' toString: self outputDir; - cmd: 'set_target_properties' params: name , ' PROPERTIES PREFIX "" SUFFIX "" - LINK_FLAGS "-lSM -lICE -ldl -lpthread -lm -lnsl -lX11"' - ]. - - - self write: cfg toFile: ((self buildDir / name) assureExistence / cmakeGen outputFileName) fullName. - cmakeGen addSubdirectory: name. - !
Item was removed: - ----- Method: Linux64x86w32BitSqueakCogV3SlackwareConfig>>cogitClass (in category 'source generation') ----- - cogitClass - ^ StackToRegisterMappingCogit - !
Item was removed: - ----- Method: Linux64x86w32BitSqueakCogV3SlackwareConfig>>compilerFlagsBuild (in category 'cmake buildType redirects') ----- - compilerFlagsBuild - ^ { - '-g0'. - '-O2'. - '-fno-tree-pre'. - '-fno-caller-saves'. - '-msse2'. - '-D_GNU_SOURCE'. - '-DNDEBUG'. - '-DITIMER_HEARTBEAT=1'. - '-DNO_VM_PROFILE=1'. - '-DDEBUGVM=0' }!
Item was removed: - ----- Method: Linux64x86w32BitSqueakCogV3SlackwareConfig>>compilerFlagsBuildAssert (in category 'cmake buildType redirects') ----- - compilerFlagsBuildAssert - ^self compilerFlagsBuild - !
Item was removed: - ----- Method: Linux64x86w32BitSqueakCogV3SlackwareConfig>>compilerFlagsBuildAssertITimerHeartbeat (in category 'cmake buildType redirects') ----- - compilerFlagsBuildAssertITimerHeartbeat - ^self compilerFlagsBuild - !
Item was removed: - ----- Method: Linux64x86w32BitSqueakCogV3SlackwareConfig>>compilerFlagsBuildDebug (in category 'cmake buildType redirects') ----- - compilerFlagsBuildDebug - ^self compilerFlagsBuild - !
Item was removed: - ----- Method: Linux64x86w32BitSqueakCogV3SlackwareConfig>>compilerFlagsBuildDebugITimerHeartbeat (in category 'cmake buildType redirects') ----- - compilerFlagsBuildDebugITimerHeartbeat - ^self compilerFlagsBuild - !
Item was removed: - ----- Method: Linux64x86w32BitSqueakCogV3SlackwareConfig>>compilerFlagsBuildITimerHeartbeat (in category 'cmake buildType redirects') ----- - compilerFlagsBuildITimerHeartbeat - ^self compilerFlagsBuild - !
Item was removed: - ----- Method: Linux64x86w32BitSqueakCogV3SlackwareConfig>>compilerFlagsBuildMultiThreaded (in category 'cmake buildType redirects') ----- - compilerFlagsBuildMultiThreaded - ^self compilerFlagsBuild - !
Item was removed: - ----- Method: Linux64x86w32BitSqueakCogV3SlackwareConfig>>compilerFlagsBuildMultiThreadedAssert (in category 'cmake buildType redirects') ----- - compilerFlagsBuildMultiThreadedAssert - ^self compilerFlagsBuild - !
Item was removed: - ----- Method: Linux64x86w32BitSqueakCogV3SlackwareConfig>>compilerFlagsBuildMultiThreadedDebug (in category 'cmake buildType redirects') ----- - compilerFlagsBuildMultiThreadedDebug - ^self compilerFlagsBuild - !
Item was removed: - ----- Method: Linux64x86w32BitSqueakCogV3SlackwareConfig>>configHBuild (in category 'headers generation') ----- - configHBuild - ^ ' - - #define HAVE_UUID_H 1 - #define HAVE_UUIDGEN 1 - - #ifndef __sq_config_h - #define __sq_config_h - - /* explicit image width */ - - #define HAVE_INTERP_H 1 - - /* package options */ - - #define USE_X11 1 - - #undef USE_X11_GLX - /* #undef USE_QUARTZ */ - /* #undef USE_QUARTZ_CGL */ - /* #undef USE_RFB */ - - /* libraries */ - - /* #undef HAVE_LIBX11 */ - /* #undef HAVE_LIBXEXT */ - #define HAVE_LIBDL 1 - /* #undef HAVE_DYLD */ - /* #undef HAVE_LIBFFI */ - /* #undef HAVE_ICONV */ - - /* #undef USE_AUDIO_NONE */ - /* #undef USE_AUDIO_SUN */ - /* #undef USE_AUDIO_NAS */ - /* #undef USE_AUDIO_OSS */ - /* #undef USE_AUDIO_MACOSX */ - /* #undef OSS_DEVICE */ - - /* header files */ - - #define HAVE_UNISTD_H 1 - /* #undef NEED_GETHOSTNAME_P */ - - #define HAVE_DIRENT_H 1 - /* #undef HAVE_SYS_NDIR_H */ - /* #undef HAVE_SYS_DIR_H */ - /* #undef HAVE_NDIR_H */ - #define HAVE_DLFCN_H 1 - #define HAVE_ICONV_H 1 - - #define HAVE_SYS_TIME_H 1 - #define TIME_WITH_SYS_TIME 1 - - /* #undef HAVE_SYS_FILIO_H */ - - /* #undef HAVE_SYS_AUDIOIO_H */ - /* #undef HAVE_SUN_AUDIOIO_H */ - - #define HAVE_PTY_H 1 - /* #undef HAVE_UTIL_H */ - /* #undef HAVE_LIBUTIL_H */ - #define HAVE_STROPTS_H 1 - - #undef HAVE_GL_GL_H - #undef HAVE_OPENGL_GL_H - - /* #undef NEED_SUNOS_H */ - - /* system calls/library functions */ - - #define AT_EXIT atexit - - #define HAVE_TZSET 1 - - #define HAVE_OPENPTY 1 - /* #undef HAVE_UNIX98_PTYS */ - - #define HAVE_SNPRINTF 1 - /* #undef HAVE___SNPRINTF */ - - #define HAVE_MMAP 1 - - /* #undef HAVE_DYLD */ - - #define HAVE_LANGINFO_CODESET 1 - - #define HAVE_ALLOCA 1 - #define HAVE_ALLOCA_H 1 - - #define HAVE_UNSETENV 1 - - #define HAVE_NANOSLEEP 1 - - /* widths of primitive types */ - - #define SIZEOF_INT 4 - #define SIZEOF_LONG 4 - #define SIZEOF_LONG_LONG 8 - #define SIZEOF_VOID_P 4 - - /* structures */ - - #define HAVE_TM_GMTOFF 1 - #define HAVE_TIMEZONE 1 - - /* typedefs */ - - /* #undef size_t */ - /* #undef socklen_t */ - - #define squeakInt64 long long - - /* architecture */ - - #define OS_TYPE "unix" - - #define VM_HOST "i686-pc-linux-gnu" - #define VM_HOST_CPU "i686" - /* #undef VM_HOST_VENDOR */ - #define VM_HOST_OS "linux-gnu" - #define VM_BUILD_STRING "Unix built on "__DATE__ " "__TIME__" Compiler: "__VERSION__ - - /* #undef WORDS_BIGENDIAN */ - /* #undef DOUBLE_WORD_ALIGNMENT */ - - /* damage containment */ - - /* #undef DARWIN */ - - #ifdef NEED_SUNOS_H - # include "sunos.h" - #endif - - /* other configured variables */ - - #define SQ_VERSION "3.9a-7024" - #define VM_VERSION "3.9-7" - #define VM_MODULE_PREFIX "" - /* #undef VM_DLSYM_PREFIX */ - #define VM_X11DIR "" - - /* avoid dependencies on glibc2.3 */ - - #define HAVE_FEATURES_H 1 - - #if defined(HAVE_FEATURES_H) - # include "glibc.h" - #endif - - #endif /* __sq_config_h */ - - '!
Item was removed: - ----- Method: Linux64x86w32BitSqueakCogV3SlackwareConfig>>defaultExternalPlugins (in category 'plugins') ----- - defaultExternalPlugins - "Removed the B3DAcceleratorPlugin since we don't have OpenGL bindings here" - ^ (super defaultExternalPlugins copyWithoutAll: #(#B3DAcceleratorPlugin #ThreadedIA32FFIPlugin #InternetConfigPlugin #FT2Plugin))!
Item was removed: - ----- Method: Linux64x86w32BitSqueakCogV3SlackwareConfig>>defaultInternalPlugins (in category 'plugins') ----- - defaultInternalPlugins - "Removed the B3DAcceleratorPlugin since we don't have OpenGL bindings here" - ^ (super defaultInternalPlugins copyWithoutAll: #(#IA32ABIPlugin #JoystickTabletPlugin #StarSqueakPlugin #SurfacePlugin #SqueakFFIPrims #ThreadedIA32FFIPlugin))!
Item was removed: - ----- Method: Linux64x86w32BitSqueakCogV3SlackwareConfig>>dirBuildLanguageVMMM (in category 'cmake directory ') ----- - dirBuildLanguageVMMM - ^self squeakCogV3!
Item was removed: - ----- Method: Linux64x86w32BitSqueakCogV3SlackwareConfig>>dirInstall (in category 'cmake') ----- - dirInstall - "the directory of the finished product.. the place where 'make install' puts stuff. - SystemNavigation default browseMethodsWhoseNamesContain: 'outputDir' - " - ^self squeakCogV3 , '.noGL'!
Item was removed: - ----- Method: Linux64x86w32BitSqueakCogV3SlackwareConfig>>excludeFromBuild (in category 'cmake') ----- - excludeFromBuild - ^true "build this configuration" - " ^true" - - !
Item was removed: - ----- Method: Linux64x86w32BitSqueakCogV3SlackwareConfig>>executableName (in category 'cmake') ----- - executableName - ^ self vmCogExecutableName!
Item was removed: - ----- Method: Linux64x86w32BitSqueakCogV3SlackwareConfig>>interpreterClass (in category 'source generation') ----- - interpreterClass - ^ CoInterpreter!
Item was removed: - ----- Method: Linux64x86w32BitSqueakCogV3SlackwareConfig>>linkFlagsBuild (in category 'compiler flags') ----- - linkFlagsBuild - ^ '-lSM -lICE -ldl -lpthread -lm -lnsl -lX11'!
Item was removed: - Linux64x86w32BitSqueakCogV3SlackwareConfig subclass: #Linux64x86w32BitSqueakCogV3SlackwareNoGLConfig - instanceVariableNames: '' - classVariableNames: '' - poolDictionaries: '' - category: 'CMakeVMMakerSqueak-Linux64X86-32BitCompatibility'! - - !Linux64x86w32BitSqueakCogV3SlackwareNoGLConfig commentStamp: 'tty 6/15/2014 18:26' prior: 0! - A slightly modified configuration, which avoids linking with openGL libraries. - - SqueakLinux64x86w32CompatBuilder - configureABuildFor: #Linux32x86SqueakCogV3NoGLConfig withBuildType: #build; - generateSources; - generate. - - HelpBrowser openOn: CMakeVMMakerSqueakEndUserHelp - HelpBrowser openOn: CMakeVMMakerSqueakDeveloperHelp - - - Getting the UUIDPlugin to compile (not work, unfortunately, but compile) required modifying oscogvm/platforms/unix/plugins/acinclude.m4. - to read: (my Slackware system has <uuid> and uuidgen. then setting the - - # -*- sh -*- - - AC_MSG_CHECKING([for UUID support]) - AC_TRY_COMPILE([#include <sys/uuid.h>],[uuid_generatorxyz;],[ - AC_MSG_RESULT(yes) - AC_CHECK_LIB(uuid, uuid_generator_xyz,LIB_UUID="-luuid" ) - ],[ - AC_MSG_RESULT(no) - AC_MSG_CHECKING([for UUID support uuid/uuid.h] and uuid_generate) - AC_TRY_COMPILE([#include <uuid/uuid.h>],[uuid_generate;],[ - AC_MSG_RESULT(yes) - AC_CHECK_LIB(uuid, uuid_generate, LIB_UUID="-luuid")],[ - AC_MSG_RESULT(no) - AC_MSG_CHECKING([for UUID support uuid and uuidgen] ) - AC_TRY_COMPILE([#include <uuid.h>],[uuidgen;],[ - AC_MSG_RESULT(yes) - AC_CHECK_LIB(uuid, uuidgen, LIB_UUID="-luuid" )],[ - AC_MSG_RESULT(no) - AC_PLUGIN_DISABLE - ]) - ]) - ]) - - - - - #define HAVE_UUID_H 1 - #define HAVE_UUIDGEN 1 - - fl;ags in my configH method - - !
Item was removed: - ----- Method: Linux64x86w32BitSqueakCogV3SlackwareNoGLConfig>>excludeFromBuild (in category 'as yet unclassified') ----- - excludeFromBuild - "over-ride to exclude yourself from a build or not" - ^true!
Item was added: + ----- Method: SqueakBSDConfig>>addVMDriversBuild: (in category 'cmake buildType redirects') ----- + addVMDriversBuild: aMaker + aMaker message: 'addVMDrivers: aMaker'. + self + addDriver: 'vm-display-null' + sources: #( + '${targetPlatform}/vm-display-null/sqUnixDisplayNull' ) + generator: aMaker + externalLibs: #(); + + addDriver: 'vm-display-X11' + sources: #( + '${targetPlatform}/vm-display-X11/sqUnixX11' + '${targetPlatform}/vm-display-X11/sqUnixMozilla' ) + generator: aMaker + externalLibs: (self linkFlags); + + addDriver: 'vm-sound-ALSA' + sources: #( + '${targetPlatform}/vm-sound-ALSA/sqUnixSoundALSA' ) + generator: aMaker + externalLibs: #(); + + addDriver: 'vm-sound-null' + sources: #( + '${targetPlatform}/vm-sound-null/sqUnixSoundNull' ) + generator: aMaker + externalLibs: #(). + !
Item was added: + ----- Method: SqueakBSDConfig>>addVMDriversBuildAssert: (in category 'cmake buildType redirects') ----- + addVMDriversBuildAssert: aMaker + ^self addVMDriversBuild: aMaker!
Item was added: + ----- Method: SqueakBSDConfig>>addVMDriversBuildAssertITimerHeartbeat: (in category 'cmake buildType redirects') ----- + addVMDriversBuildAssertITimerHeartbeat: aMaker + ^self addVMDriversBuild: aMaker!
Item was added: + ----- Method: SqueakBSDConfig>>addVMDriversBuildDebug: (in category 'cmake buildType redirects') ----- + addVMDriversBuildDebug: aMaker + ^self addVMDriversBuild: aMaker!
Item was added: + ----- Method: SqueakBSDConfig>>addVMDriversBuildDebugITimerHeartbeat: (in category 'cmake buildType redirects') ----- + addVMDriversBuildDebugITimerHeartbeat: aMaker + ^self addVMDriversBuild: aMaker!
Item was added: + ----- Method: SqueakBSDConfig>>addVMDriversBuildITimerHeartbeat: (in category 'cmake buildType redirects') ----- + addVMDriversBuildITimerHeartbeat: aMaker + ^self addVMDriversBuild: aMaker!
Item was added: + ----- Method: SqueakBSDConfig>>addVMDriversBuildMultiThreaded: (in category 'cmake buildType redirects') ----- + addVMDriversBuildMultiThreaded: aMaker + ^self addVMDriversBuild: aMaker!
Item was added: + ----- Method: SqueakBSDConfig>>addVMDriversBuildMultiThreadedAssert: (in category 'cmake buildType redirects') ----- + addVMDriversBuildMultiThreadedAssert: aMaker + ^self addVMDriversBuild: aMaker!
Item was added: + ----- Method: SqueakBSDConfig>>addVMDriversBuildMultiThreadedDebug: (in category 'cmake buildType redirects') ----- + addVMDriversBuildMultiThreadedDebug: aMaker + ^self addVMDriversBuild: aMaker!
Item was added: + ----- Method: SqueakSunOS32x86Config>>addVMDriversBuild: (in category 'cmake buildType redirects') ----- + addVMDriversBuild: aMaker + aMaker message: 'addVMDrivers: aMaker'. + self + addDriver: 'vm-display-null' + sources: #( + '${targetPlatform}/vm-display-null/sqUnixDisplayNull' ) + generator: aMaker + externalLibs: #(); + + addDriver: 'vm-display-X11' + sources: #( + '${targetPlatform}/vm-display-X11/sqUnixX11' + '${targetPlatform}/vm-display-X11/sqUnixMozilla' ) + generator: aMaker + externalLibs: (self linkFlags); + + addDriver: 'vm-sound-ALSA' + sources: #( + '${targetPlatform}/vm-sound-ALSA/sqUnixSoundALSA' ) + generator: aMaker + externalLibs: #(); + + addDriver: 'vm-sound-null' + sources: #( + '${targetPlatform}/vm-sound-null/sqUnixSoundNull' ) + generator: aMaker + externalLibs: #(). + !
Item was added: + ----- Method: SqueakSunOS32x86Config>>addVMDriversBuildAssert: (in category 'cmake buildType redirects') ----- + addVMDriversBuildAssert: aMaker + ^self addVMDriversBuild: aMaker!
Item was added: + ----- Method: SqueakSunOS32x86Config>>addVMDriversBuildAssertITimerHeartbeat: (in category 'cmake buildType redirects') ----- + addVMDriversBuildAssertITimerHeartbeat: aMaker + ^self addVMDriversBuild: aMaker!
Item was added: + ----- Method: SqueakSunOS32x86Config>>addVMDriversBuildDebug: (in category 'cmake buildType redirects') ----- + addVMDriversBuildDebug: aMaker + ^self addVMDriversBuild: aMaker!
Item was added: + ----- Method: SqueakSunOS32x86Config>>addVMDriversBuildDebugITimerHeartbeat: (in category 'cmake buildType redirects') ----- + addVMDriversBuildDebugITimerHeartbeat: aMaker + ^self addVMDriversBuild: aMaker!
Item was added: + ----- Method: SqueakSunOS32x86Config>>addVMDriversBuildITimerHeartbeat: (in category 'cmake buildType redirects') ----- + addVMDriversBuildITimerHeartbeat: aMaker + ^self addVMDriversBuild: aMaker!
Item was added: + ----- Method: SqueakSunOS32x86Config>>addVMDriversBuildMultiThreaded: (in category 'cmake buildType redirects') ----- + addVMDriversBuildMultiThreaded: aMaker + ^self addVMDriversBuild: aMaker!
Item was added: + ----- Method: SqueakSunOS32x86Config>>addVMDriversBuildMultiThreadedAssert: (in category 'cmake buildType redirects') ----- + addVMDriversBuildMultiThreadedAssert: aMaker + ^self addVMDriversBuild: aMaker!
Item was added: + ----- Method: SqueakSunOS32x86Config>>addVMDriversBuildMultiThreadedDebug: (in category 'cmake buildType redirects') ----- + addVMDriversBuildMultiThreadedDebug: aMaker + ^self addVMDriversBuild: aMaker!
Item was removed: - ----- Method: SqueakUnixConfig>>addVMDriversBuild: (in category 'cmake buildType redirects') ----- - addVMDriversBuild: aMaker - " - libICE - ICE is the Inter Client Exchange protocol, part of X11 - - libSM - session management library for X11 - - " - self - addDriver: 'vm-display-null' - sources: #( - '${targetPlatform}/vm-display-null/sqUnixDisplayNull' ) - generator: aMaker - externalLibs: #(); - - - addDriver: 'vm-display-X11' - sources: #( - '${targetPlatform}/vm-display-X11/sqUnixX11' - '${targetPlatform}/vm-display-X11/sqUnixMozilla' ) - generator: aMaker - - "-lSM -lICE -ldl -lGL -lpthread -lm -lnsl -lX11'" - externalLibs: #( SM ICE GL X11 nsl dl); - - - addDriver: 'vm-sound-ALSA' - sources: #( - '${targetPlatform}/vm-sound-ALSA/sqUnixSoundALSA' ) - generator: aMaker - externalLibs: #(); - - addDriver: 'vm-sound-null' - sources: #( - '${targetPlatform}/vm-sound-null/sqUnixSoundNull' ) - generator: aMaker - externalLibs: #(). - - " - vm-display-null - vm-display-X11 - vm-sound-ALSA - vm-sound-null"!
Item was removed: - ----- Method: SqueakUnixConfig>>addVMDriversBuildAssert: (in category 'cmake buildType redirects') ----- - addVMDriversBuildAssert: aMaker - ^self addVMDriversBuild: aMaker!
Item was removed: - ----- Method: SqueakUnixConfig>>addVMDriversBuildAssertITimerHeartbeat: (in category 'cmake buildType redirects') ----- - addVMDriversBuildAssertITimerHeartbeat: aMaker - ^self addVMDriversBuild: aMaker!
Item was removed: - ----- Method: SqueakUnixConfig>>addVMDriversBuildDebug: (in category 'cmake buildType redirects') ----- - addVMDriversBuildDebug: aMaker - ^self addVMDriversBuild: aMaker!
Item was removed: - ----- Method: SqueakUnixConfig>>addVMDriversBuildDebugITimerHeartbeat: (in category 'cmake buildType redirects') ----- - addVMDriversBuildDebugITimerHeartbeat: aMaker - ^self addVMDriversBuild: aMaker!
Item was removed: - ----- Method: SqueakUnixConfig>>addVMDriversBuildITimerHeartbeat: (in category 'cmake buildType redirects') ----- - addVMDriversBuildITimerHeartbeat: aMaker - ^self addVMDriversBuild: aMaker!
Item was removed: - ----- Method: SqueakUnixConfig>>addVMDriversBuildMultiThreaded: (in category 'utils') ----- - addVMDriversBuildMultiThreaded: aMaker - ^self addVMDriversBuild: aMaker!
Item was removed: - ----- Method: SqueakUnixConfig>>addVMDriversBuildMultiThreadedAssert: (in category 'cmake buildType redirects') ----- - addVMDriversBuildMultiThreadedAssert: aMaker - ^self addVMDriversBuild: aMaker!
Item was removed: - ----- Method: SqueakUnixConfig>>addVMDriversBuildMultiThreadedDebug: (in category 'cmake buildType redirects') ----- - addVMDriversBuildMultiThreadedDebug: aMaker - ^self addVMDriversBuild: aMaker!
Item was changed: ----- Method: SqueakUnixConfig>>commonCompilerFlags (in category 'compiler flags') ----- commonCompilerFlags "avoid premature optimization. push this decision down lower if it is needed at all" + self deprecated: ' its much easier to have all the flags in your configuration class. '. ^{}
!
vm-dev@lists.squeakfoundation.org