GMP Floating point design vs Fractal applications
White, Jim (ITD)
Tue, 1 Jul 2003 10:59:13 +0100
Kevin Ryde writes:
> You should be able to use a mingw mpfr static-linked in your
> application, with the main gmp as a dll. Might have to build mpfr
> separately though, not from the main gmp build. Or static link
> everything and be done.
Thanks Kevin. Unfortunately my application is not written in
"C" (it's a mix of VisualBasic front-end and PowerBasic DLL's)
so I can't link to anything statis. It's got to be a fll.
Also, I can't build GMP myself - Unix isn't my "native"
development environment at all (sorry!!!) on my PC, and
although I have access to Unix Servers (Siemens/Reliant)
at work, its "C" compiler isn't recognised by GMP's
configure, and I'm not allowed to install anything (such
as gcc) on it. Hence my reliance on good people like
deltatrinity who have built gmp dll's.
But perhaps there is a solution for me after all? I do
have a stand-alone "C" compiler/linker for the PC (lcc-win32).
Could I simply write a "wrapper" DLL in lcc, which
would offer dynamically linked entrypoints for my programs
but would itself call the mpfr functions, which would
be statically linked to the wrapper dll (using mpfr.lib)?
That way, all I would need is an mpfr.lib and mpfr.h. Is
this a feasible approach?