[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Large factorials segfault : MingW32 v3.2.2 - Athlon XP 1700+
From: |
Kevin Ryde |
Subject: |
Re: Large factorials segfault : MingW32 v3.2.2 - Athlon XP 1700+ |
Date: |
Sat, 07 Jun 2003 07:09:25 +1000 |
User-agent: |
Gnus/5.090019 (Oort Gnus v0.19) Emacs/21.2 (gnu/linux) |
"Igor Gnip" <address@hidden> writes:
>
> If it's stack size issue - please help ?
See "Debugging" in the manual.
> I don't know how to set more stack for my application.
I don't know how to increase it on mingw, but you can use
--disable-alloca as outlined in the manual.
> And how much stack do I need for 150000! ?
Not sure. Quite a bit probably.
> BTW. Are there any memory/size limitations for the mpz_fac() ?
There shouldn't be, not other than stack size and available memory.
> Is it possible to compile GMP for Borland c++ builder 6.0 ?
You can probably use a mingw DLL with that, as described in "Notes for
Particular Systems" under MS Windows.
I don't think gmp will build directly with the borland tools, but
maybe there's someone on the gmp-discuss list who has managed.
> Does C++ wrapper library use more stack size than plain C implementation ?
No, gmpxx.h comes with the same sort of C calls you could write
yourself, just a friendlier syntax.
--
All followups to address@hidden please.