Johnny Willemsen wrote: > Hi, > >>> It seems -Wl,--stack=0x8000000 works: >>> SizeOfStackReserve 0000000008000000 >>> SizeOfStackCommit 0000000000001000 >>> SizeOfHeapReserve 0000000000100000 >>> SizeOfHeapCommit 0000000000001000 >>> >>> The question is more how this is used, do we really get a 2Mb stack. >> AFAIK, 2MB is the windows default and binutils follows the tradition >> set by >> the native tools unless you deliberately override using the --stack >> option. > > Yes, that is what I see also, a 2Mb stack is given by objdump, but if I put > a 66Kb array on the stack and do a memset the system seems to already get a > stack overflow.
Hmm, that could be a problem either in stack probing or in the calculation layout and handling of large stack frames. I haven't tried the x86 compiler yet but I'll probably take a look at it some time soon-ish. cheers, DaveK ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ Cegcc-devel mailing list Cegcc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cegcc-devel