#REFACTORING by cg
class: ParserFlags class
changed: #initializeSTCFlagsForTopDirectory:
--- a/ParserFlags.st Fri May 11 09:45:21 2018 +0200
+++ b/ParserFlags.st Fri May 11 09:55:44 2018 +0200
@@ -1835,7 +1835,7 @@
STCCompilationIncludes := '-I',topDirName,'\include -I',topDirName,'\libopengl'.
- ExternalAddress pointerSize == 4 ifFalse:[
+ ExternalBytes sizeofPointer == 4 ifFalse:[
bccTop := nil
] ifTrue:[
(bccTop := BCCTop) isNil ifTrue:[
@@ -1863,7 +1863,7 @@
CCCompilationOptions := '-w-'.
useBorlandC := true.
] ifFalse:[
- ExternalAddress pointerSize == 4 ifFalse:[
+ ExternalBytes sizeofPointer == 4 ifFalse:[
vcTop := nil.
] ifTrue:[
(vcTop := VCTop) isNil ifTrue:[
@@ -1903,7 +1903,7 @@
] ifFalse:[
"/ add definitions for lcc, mingc etc.
"/ STCCompilationIncludes := STCCompilationIncludes,' -IC:\xxxxx\Include'.
- ExternalAddress pointerSize == 4 ifTrue:[
+ ExternalBytes sizeofPointer == 4 ifTrue:[
(mingwTop := MingwTop) isNil ifTrue:[
mingwTop := {
(programFiles,'\mingw') .
@@ -1960,7 +1960,7 @@
STCPath := topDirName,'/stc/stc'.
archArg := picArg := ''.
- (ExternalAddress pointerSize == 4) ifTrue:[
+ (ExternalBytes sizeofPointer == 4) ifTrue:[
archArg := ' -m32'
] ifFalse:[
archArg := ' -m64'. "gcc -m64 needs -fPIC to make a shared library"