Browse Source

add /stack option to specify a 4-meg stack by default for executables

David Rose 21 years ago
parent
commit
9293e85bb7
1 changed files with 3 additions and 3 deletions
  1. 3 3
      dtool/pptempl/compilerSettings.pp

+ 3 - 3
dtool/pptempl/compilerSettings.pp

@@ -31,7 +31,7 @@
   #endif
   #endif
 
 
   // Note: all Opts will link w/debug info now
   // Note: all Opts will link w/debug info now
-  #define LINKER_FLAGS /DEBUG /DEBUGTYPE:CV $[PROFILE_FLAG] /MAP $[MAPINFOFLAGS] /fixed:no /incremental:no /WARN:3
+  #define LINKER_FLAGS /DEBUG /DEBUGTYPE:CV $[PROFILE_FLAG] /MAP $[MAPINFOFLAGS] /fixed:no /incremental:no /stack:4194304 /WARN:3
 
 
   // Added to avoid old iostream reference problems
   // Added to avoid old iostream reference problems
   #define LINKER_FLAGS $[LINKER_FLAGS] /NODEFAULTLIB:LIBCI.LIB
   #define LINKER_FLAGS $[LINKER_FLAGS] /NODEFAULTLIB:LIBCI.LIB
@@ -124,7 +124,7 @@
   #endif
   #endif
 
 
   // Note: all Opts will link w/debug info now
   // Note: all Opts will link w/debug info now
-  #define LINKER_FLAGS /DEBUG $[PROFILE_FLAG] /MAP $[MAPINFOFLAGS] /fixed:no /incremental:no
+  #define LINKER_FLAGS /DEBUG $[PROFILE_FLAG] /MAP $[MAPINFOFLAGS] /fixed:no /incremental:no /stack:4194304
 
 
   // Added to avoid old iostream reference problems
   // Added to avoid old iostream reference problems
   #define LINKER_FLAGS $[LINKER_FLAGS] /NODEFAULTLIB:LIBCI.LIB
   #define LINKER_FLAGS $[LINKER_FLAGS] /NODEFAULTLIB:LIBCI.LIB
@@ -176,7 +176,7 @@
   #endif
   #endif
 
 
   // Note: all Opts will link w/debug info now
   // Note: all Opts will link w/debug info now
-  #define LINKER_FLAGS /DEBUG /DEBUGTYPE:CV $[PROFILE_FLAG] /MAP $[MAPINFOFLAGS] /fixed:no /incremental:no
+  #define LINKER_FLAGS /DEBUG /DEBUGTYPE:CV $[PROFILE_FLAG] /MAP $[MAPINFOFLAGS] /fixed:no /incremental:no /stack:4194304
 
 
   // Added to avoid old iostream reference problems
   // Added to avoid old iostream reference problems
   #define LINKER_FLAGS $[LINKER_FLAGS] /NODEFAULTLIB:LIBCI.LIB
   #define LINKER_FLAGS $[LINKER_FLAGS] /NODEFAULTLIB:LIBCI.LIB