Rottweiler Messages: 10 Registered: May 2008 Location: Heber Springs, Arkansas, ...
Promising Member
bytefield wrote on Wed, 07 May 2008 16:45
Well, guess you have installed a PSQL library for MSVC compiler and trying to use it with MinGW . There is a difference between MinGW and MSVC library files, MSVC use *.lib and MinGW use *.a for extensions.
Bleah. That's a fine kettle of fish.
I used the Win32 installer from Postgresql.org and I think it's built using MSVC so I suppose that makes sense. And I seem to have no .a files anywhere on my system. Now I guess I'll have to install MSVC. Woe is me.
bytefield wrote on Wed, 07 May 2008 16:45
For option '-O 2' it should be -O2, but it doesn't matter here, unless you want optimisation.
I didn't enter that option anywhere. And I don't see it in Setup/Build methods. I should probably enter it as a bug.