Repeated calls to DLL function causes stack overflow using BorlandBuilder6

Sisyphus sisyphus1 at optusnet.com.au
Sun Nov 13 10:08:25 CET 2005


----- Original Message ----- 
From: "Anton Vrba"
>
> The same program compiled under MinGW MSYS and using gcc and the static
libraries (a seperate gmp build) does not have the same problems.

I couldn't reproduce the problem using gcc and a *dynamic* library, either -
but maybe you could give that a try (since you already have the DLL).

With gcc/g++ you can link directly to the DLL
with  -LC:/full_path/to/DLL -lgmp-3.

That should tell you whether it's a problem with the DLL .... or a problem
with something else :-)

Cheers,
Rob



More information about the gmp-discuss mailing list