-
Notifications
You must be signed in to change notification settings - Fork 65
/
CogMTWindowsConfig.class.st
54 lines (41 loc) · 1.11 KB
/
CogMTWindowsConfig.class.st
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
"
This is a concrete class which generates a thread-aware VM and threaded FFI CogVM for Win32. This VM is normally known as CogMTVM.
Fore more information, check the class comments of all the superclasses.
"
Class {
#name : #CogMTWindowsConfig,
#superclass : #CogWindowsConfig,
#category : #'CMakeVMMaker-Windows'
}
{ #category : #'compiler flags' }
CogMTWindowsConfig >> compilerFlags [
^ super compilerFlags, ' -DCOGMTVM=1'
]
{ #category : #'plugin extra rules' }
CogMTWindowsConfig >> configureReentrantIA32FFIPlugin: maker [
self error: 'use ThreadedIA32FFIPlugin instead'
]
{ #category : #'source files' }
CogMTWindowsConfig >> coreSources [
"files to include from src/vm dir"
^ #(
'cogit.c'
'gcc3x-cointerpmt.c'
)
]
{ #category : #plugins }
CogMTWindowsConfig >> defaultExternalPlugins [
^ #(
ThreadedIA32FFIPlugin "SqueakFFIPrims"
"Win32OSProcessPlugin"
)
]
{ #category : #accessing }
CogMTWindowsConfig >> executableName [
^ 'CogMTVM'
]
{ #category : #'source generation' }
CogMTWindowsConfig >> interpreterClass [
"answer an interpreter class for VM source code generation"
^ CoInterpreterMT
]