Hi there, I seem to remember the libpq git had a .def file somewhere that I used, but you might also try to use something like expdef (which does the same as tiny_impdef, but seems a little more fault tolerant) to extract it (might need to be edited a bit to be recognized properly by tcc).
Heads up: You may also need libintl.dll in order to run programs linked against libpq on Windows. HTH, fjs On Sun, Mar 2, 2014 at 4:33 AM, Carlos Montiers <[email protected]> wrote: > Hello, I want use the libpq library from postgresql. > But I not know how link with that library. > > I do this in cmd but not works: > > C:\tcc>tiny_impdef.exe libpq.lib > tiny_impdef: could not get exported function names. > C:\tcc>tiny_impdef.exe libpq.dll > tiny_impdef: could not get exported function names. > > Please, help. > Carlos. > > _______________________________________________ > Tinycc-devel mailing list > [email protected] > https://lists.nongnu.org/mailman/listinfo/tinycc-devel > >
_______________________________________________ Tinycc-devel mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/tinycc-devel
