D with gmp via swig

David Nadlinger see at klickverbot.at
Sun Aug 14 05:40:02 PDT 2011


On 8/14/11 2:34 PM, Oliver wrote:
> /opt/usr/local/bin/gdc main.d gmpd.d gmpd_im.d -I. -L. -lgmpd_wrap

You don't need to link the .so in (although I'm surprised to see that it 
produces linker errors, I didn't remember that there are name collisions 
with the default settings), it will be loaded at runtime.

This decision was made to easily support Windows, where the COFF/OMF 
situation complicates matters a lot…

David


More information about the Digitalmars-d-learn mailing list