I'm using mingw to build freestanding code that does not link to the stdlib
( a kernel module ), and I'm running into a linker error because gcc seems
to generate calls to alloca. It seems that one of the functions in some
code I'm using has a rather large stack requirement of about 5000 bytes,
and so gcc calls alloca to allocate the space instead of just adjusting
esp. My question is why does it call alloca, and how do I make it stop?
Get latest updates about Open Source Projects, Conferences and News.