Jonathan Kelly wrote:
>> Try increasing your ulimit? (stack size) 
>>
>>   
> apparently you can't do that in cygwin ...
> $ ulimit -s 2048
> bash: ulimit: stack size: cannot modify limit: Invalid argument

I did a quick google, and it looks like the only way to change the stack 
size is to modify it when you're linking. To do that in felix, modify 
the  config/target_cxx.py (or build, host, etc. Not sure which one) and 
change the lines:

CCLINK_DYNAMIC_FLX='g++ -bundle '
CCLINK_DYNAMIC_MAIN='g++ '
CCLINK_DYNAMIC_RTL='g++ -dynamiclib '
CCLINK_STATIC='g++ '


To something like this (the number is the stack size):

CCLINK_DYNAMIC_FLX='g++ -Wl,--stack,8388608 -bundle '
CCLINK_DYNAMIC_MAIN='g++ -Wl,--stack,8388608 '
CCLINK_DYNAMIC_RTL='g++ -Wl,--stack,8388608 -dynamiclib '
CCLINK_STATIC='g++ -Wl,--stack,8388608 '


Let us know if that works.

-e

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Felix-language mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/felix-language

Reply via email to