Re: PostgreSQL: libpq, win32 build
This builds a debug version of the DLL's along with the non-debug
version. Patch applied. Thanks.
---------------------------------------------------------------------------
David Turner wrote:
Hi
release build uses the cl flags "/MD /D NDEBUG". Usually the debug
build has a "D" suffix on the file name, so for example:libpqd.dll libpq, debug build
libpqd.lib libpq, debug build, import library
libpq.dll libpq, release build
libpq.lib libpq, release build, import libraryWhat do we do now? Build just one file, a lib?
Currently, src/interfaces/libpq/win32.mak builds a statically-linked
library "libpq.lib", a debug dll "libpq.dll", import library for the
debug dll "libpqdll.lib", a release dll "libpq.dll", import library for
the release dll "libpqdll.lib". To avoid naming clashes, I would make
the debug dll and import libraries "libpqd.dll" and "libpqddll.lib".Attached is src/interfaces/libpq/win32.mak, modified as I described. I
also had to make a copy of libpqdll.def to change the LIBRARY directive.Regards
David Turner
Content-Description: libpqddll.def
[ Attachment, skipping... ]
Content-Description: win32.mak
[ Attachment, skipping... ]
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
Import Notes
Reply to msg id not found: 41DBF86E9B2D40458004C7C631CB6E510836CA@sbs1.firepro.co.za