|
From: | Brandon J. Van Every |
Subject: | Re: [Chicken-users] building on windows |
Date: | Sat, 23 Dec 2006 17:50:47 -0800 |
User-agent: | Thunderbird 1.5.0.9 (Windows/20061207) |
Mark Baily wrote:
Hi, I guess I'll have to download VS 2005 Express and see if I can duplicate the behavior. At least we now know it isn't limited to the Parallels Virtual Machine, nor to VS 2005 Express. On MSVC we used to set C_DEFAULT_TARGET_STACK_SIZE=300000 to avoid some kind of thrashing problem. Something about Chicken emitting so many C functions and MSVC handling that gracelessly because of poor memory design. I was unable to observe any problem with my Visual Studio .NET 2003 compiler, so at one point I removed the code, but I left a historical footnote. Try changing line 863 of CMakeLists.txt SET(C_DEFAULT_TARGET_STACK_SIZE \(128*1024\)) to SET(C_DEFAULT_TARGET_STACK_SIZE 300000) and recompiling for MSVC. If that solves your problem then we know the culprit. If it doesn't, you might try a larger value. If that doesn't fix it, then we're back to head scratching. Cheers, Brandon Van Every |
[Prev in Thread] | Current Thread | [Next in Thread] |