@@ -1,3 +1,7 @@
+## [3.33] - 2019-03-05
+### Fixed
+ - DLLs now statically link against libgcc.
+
## [3.32] - 2019-02-11
### Added
- New 'override' and 'overerr' options for bcc Override support.
@@ -10,7 +10,7 @@ Import brl.map
Import "stringbuffer_core.bmx"
-Const BMK_VERSION:String = "3.32"
+Const BMK_VERSION:String = "3.33"
Const ALL_SRC_EXTS$="bmx;i;c;m;h;cpp;cxx;mm;hpp;hxx;s;cc;asm;S"
@@ -299,6 +299,9 @@ Function LinkApp( path$,lnk_files:TList,makelib,opts$ )
End If
If makelib Then
sb.Append(" -shared")
+ If processor.Platform() = "win32" Then
+ sb.Append(" -static-libgcc")
+ End If
Else
sb.Append(" -static")