Libpqxx linking on windows

Hello all,

Can anybody help with these 2 questions ?

-I what to do a static linking of libpqxx on windows with Mingw. AFAIU I should remove, -DPQXX_SHARED from win32/MinGW.mak and change libpqxx.dll to libpqxx.lib. Is that all ?

-Also I want to compile it on windows 7 64 bits, as a 32 bit library, so I can make a win32 build of my program that runs well in win 8/7/xp. What are the modification I should do in makefile to acomplish this ?

any help appreciated.

Solved it. Used MSYS to compile the library and then set static option in ./configure.
Topic archived. No new replies allowed.