Re: Win32 mingw libpq.dll - Mailing list pgsql-hackers-win32

From Magnus Hagander
Subject Re: Win32 mingw libpq.dll
Date
Msg-id 6BCB9D8A16AC4241919521715F4D8BCE34B28D@algol.sollentuna.se
Whole thread Raw
List pgsql-hackers-win32
> > I am not posting to a newsgroup because I don't have
> membership in any
> > but -general and this seems more -specific.
> >
> > I have msys and mingw working fine.
> >
> > I want to try out libpqxx but can't build it without having libpq
> > installed.  So, I tried downloading postgresql 7.4.1 source and
> > extracting it in my msys install under /usr/local/. Then I did
> > ./configure --without-zlib, then cd to src/interfaces/libpq and did
> > make.  All goes fine, but I end up with only libpq.a.
> >
> > What do I need to do (short of buying MS Visual Studio .NET) to get
> > libpq.dll to build?
>
> I don't know the the difference between a *.a and a *.dll.
> Can any Win32 guys can answer this?

*.a is a static library (.lib in the MS world)
*.dll is a dynamic library (.so in the unix world)

I'm not (ATM) using the client side libpq compiled with mingw at the
moment (still using an older "proven working" build, to make sure the
client is not to blame for the win32 errors showing up), so I can't help
you on why it doesn't build.


//Magnus

pgsql-hackers-win32 by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Win32 mingw libpq.dll
Next
From: "Dave Page"
Date:
Subject: Re: Win32 mingw libpq.dll