Custom stack allocation for GMP arrays

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all:

I'm working with large arrays from the GMP library on MacOS 10.4.2, with XCode 2.2, gcc 4.0.0, and I need to increase the stack size beyond the default 8 megabytes. Apple suggests using a "-stack-size" linker flag, but this flag doesn't appear in the GCC manual (and doesn't work). I've tried the flag -fno-stack-limit, but this doesn't seem to to work either.

One obvious work-around is to configure the GMP library to use malloc, but I'd rather get a larger stack if possible (speed and ease reasons).

Suggestions about increasing the stack size or other techniques for accommodating large GMP mpz_t array? Thanks!


Blake Huff
stangmechanic@xxxxxxxxx




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux