title: How to GCC compile without _alloca?
body: <p>For some reason, I should use gcc to compile a C file, then link against Visual C++ 2008 project.</p>
  
  <p>(I used the current latest gcc version: cygwin gcc 4.3.4 20090804.)</p>
  
  <p>But there is one problem: gcc always allocate a big array with _alloca,</p>
  
  <p>and VC linker can't resolve the symbol __alloca.</p>
  
  <p>for example,</p>
  
  <pre><code>int func()
  {
      int big[10240];
      ....
  }
  </code></pre>
  
  <p>this code makes the _alloca dependency although I didn't call the _alloca function explicitly.</p>
  
  <p>(array size matters. if i change 10240 -> 128, everything ok)</p>
  
  <p>I tried gcc option -fno-builtin-alloca or -fno-builtin, but no luck.</p>
  
  <p>Is it possible to make gcc not to use _alloca ? (or adjust the threshold?)</p>