|
![](/i/fill.gif) |
Luciano Pennini <lpe### [at] writeme com> wrote:
: BTW do you know if the linux version has the same problem?
Probably not, since (AFAIK) there's no stack size limit for programs in
unix (ok, there is, but it's huge).
: And if this is true. Any clue 'bout wich code is easier to modify (unix, dos
: or windows)??
The problem is not in povray itself but in the code generated by the
compiler. When compiling you should tell the compiler to link a bigger stack
to the program. For example watcom links a ridiculously small stack (about 8k)
to its programs by default.
If I'm not completely wrong, this is not a problem in unix since the
stack size usable by programs is determined by the system, not by the
program itself. For example in this SparcStation which has Solaris as OS
the stack size is limited to 2 Gigabytes.
--
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/
Post a reply to this message
|
![](/i/fill.gif) |