From 45184e01d80d0e01bc6d03a86e5aa4e706095e47 Mon Sep 17 00:00:00 2001 From: grischka Date: Mon, 11 Jul 2011 18:47:16 +0200 Subject: win32: add -Wl,--stack=xxx switch For example: $ tcc -Wl,--stack=4194309 which means 4 MB. Default is 1 MB. --- tcc.h | 1 + 1 file changed, 1 insertion(+) (limited to 'tcc.h') diff --git a/tcc.h b/tcc.h index c3c1031..ce7ee22 100644 --- a/tcc.h +++ b/tcc.h @@ -565,6 +565,7 @@ struct TCCState { /* PE info */ int pe_subsystem; unsigned long pe_file_align; + unsigned long pe_stack_size; struct pe_uw { Section *pdata; int sym_1, sym_2, offs_1; -- cgit v1.3.1