--- a/ProjectBuilder.st Wed Sep 05 11:22:38 2012 +0200
+++ b/ProjectBuilder.st Wed Sep 05 20:22:28 2012 +0200
@@ -92,7 +92,10 @@
listOfPossibleCompilers
OperatingSystem isMSWINDOWSlike ifTrue:[
- ^ #('bcc' 'vc' 'tcc' 'lcc' 'gcc' )
+ OperatingSystem getLoginName = 'cg' ifTrue:[
+ ^ #('bcc' 'vc' 'lcc' 'tcc' 'mingw' )
+ ].
+ ^ #('bcc' 'vc' 'lcc' )
].
^ #('gcc')
@@ -522,6 +525,12 @@
'lib/vc/librun.lib'
).
].
+ usedCompiler = 'mingw' ifTrue:[
+ files := files , #(
+ 'librun/objvc/librun.dll' "/ linkage is against vc version!!
+ 'lib/vc/librun.lib'
+ ).
+ ].
] ifFalse:[
files := #(
'librun/main.c'
@@ -554,7 +563,7 @@
].
].
- "Modified (comment): / 05-09-2012 / 10:29:28 / cg"
+ "Modified: / 05-09-2012 / 16:26:25 / cg"
!
createHeaderFileFor:aClass in:packageTargetDir
@@ -781,8 +790,8 @@
usedCompiler = 'gcc' ifTrue:[
^ 'make'.
].
- usedCompiler = 'gcc' ifTrue:[
- ^ 'make'.
+ usedCompiler = 'mingw' ifTrue:[
+ ^ 'mingwmake'.
].
self error:'unknown compiler specified'.
@@ -851,11 +860,13 @@
!
objDirForUsedCompiler:usedCompiler
+ usedCompiler = 'gcc' ifTrue:[^ 'obj']. "/ unix case
+
usedCompiler = 'bcc' ifTrue:[^ 'objbc'].
usedCompiler = 'vc' ifTrue:[^ 'objvc'].
usedCompiler = 'tcc' ifTrue:[^ 'objtcc'].
usedCompiler = 'lcc' ifTrue:[^ 'objlcc'].
- usedCompiler = 'gcc' ifTrue:[^ 'obj'].
+ usedCompiler = 'mingw' ifTrue:[^ 'objmingw'].
self halt:'please fill in here'.
^ 'objbc'