#REFACTORING by cg
authorClaus Gittinger <cg@exept.de>
Fri, 11 May 2018 09:55:44 +0200
changeset 4252 be79e76ee1d3
parent 4251 299bb2bfcc35
child 4253 fcb5d78e0ddb
#REFACTORING by cg class: ParserFlags class changed: #initializeSTCFlagsForTopDirectory:
ParserFlags.st
--- 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"