How to create library with exported functions

denizzzka 4denizzz at gmail.com
Fri Oct 5 01:50:08 PDT 2012


(sorry for my English)

Hi!

I am make a yet another attempt to create an interface to
PostgreSQL from the D: https://github.com/denizzzka/dpq2

I can not understand how do a compile it into a library and
create .di headers file. Currently, "make debug" uses dmd -lib
and creates libpq.di file, but this file contains only few strings
from main()

As far as I understand it, in libdpq2.di should be automatically 
added functions what are available from the library. But they are 
not.


More information about the Digitalmars-d-learn mailing list