== Quote from David Nadlinger ([email protected])'s article > 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
David, thanks this seems to work. /opt/usr/local/bin/gdc main.d gmpd.d gmpd_im.d I did have to copy the libgmpd_wrap* to some place were the linker could find it, of course. Oliver
