--- erts/etc/win32/cygwin_tools/vc/cc.sh 2007-11-26 19:59:25.000000000 +0100 +++ erts/etc/win32/cygwin_tools/vc/cc.sh 2008-10-05 17:24:19.000000000 +0200 @@ -16,7 +16,7 @@ # "Booleans" determined during "command line parsing" # If the stdlib option is explicitly passed to this program -MD_FORCED=false +MD_FORCED=true # If we're preprocession (only) i.e. -E PREPROCESSING=false # If this is supposed to be a debug build @@ -28,7 +28,7 @@ # This data is accumulated during command line "parsing" # The stdlibrary option, default multithreaded dynamic -MD=-MD +MD=-MT # Flags for debug compilation DEBUG_FLAGS="" # Flags for optimization @@ -66,7 +66,7 @@ DEBUG_FLAGS=""; DEBUG_BUILD=false; if [ $MD_FORCED = false ]; then - MD=-MD; + MD=-MT; fi OPTIMIZED_BUILD=true;; -g|-ggdb) @@ -74,7 +74,7 @@ # Hardcoded windows debug flags DEBUG_FLAGS="-Z7"; if [ $MD_FORCED = false ]; then - MD=-MDd; + MD=-MTd; fi LINKCMD="$LINKCMD -g"; DEBUG_BUILD=true; @@ -84,7 +84,7 @@ MD="-MT"; MD_FORCED=true;; -md|-MD) - MD="-MD"; + MD="-MT"; MD_FORCED=true;; -ml|-ML) MD="-ML";