Borland C++ Builder MPFR trouble

Daniel Bernardo info at
Sun Oct 30 00:36:16 CEST 2005

I'm trying to compile a win32 executable with Borland C++ Builder using the GMP dll compiled by Trinity (libgmp-3.dll).
The dll gets linked fine only if I don't user MPFR references.

When I compile the same code with GCC/Ming I call gcc in this way:

gcc -o app_name source.c -lmpfr -lgmp

And it works fine, I know the -lmpfr -lgmp parameters are telling GCC to search for the named library in the standard set of libraries, so it resolves references to mpfr 

Now how can BCB 6 linker resolve mpfr functions references, so I can use mpfr functions?

Thanks in advance,

More information about the gmp-discuss mailing list