D with gmp via swig

Oliver oliver.ruebenkoenig at web.de
Sun Aug 14 06:36:50 PDT 2011


== Quote from David Nadlinger (see at klickverbot.at)'s article
> On 8/14/11 3:03 PM, Oliver wrote:
> > I did have to copy the libgmpd_wrap* to some place were the linker could find it,
> > of course.
> Alternatively, you could set LD_LIBRARY_PATH to where your library
> resides. If there is demand, I could definitely look into adding static
> linking support to SWIG (it is on the TODO list already), but currently,
> I'm rather busy with my Thrift GSoC project.
> David

David, I do not have any preference - I think, however, as a quick fix, it might
be beneficial to add the current status, that a) you need dynamic linking and b)
that -L. -lgmpd_wrap does not work as expected to the documentation. That would
have helped me.

Oliver


More information about the Digitalmars-d-learn mailing list