From: Bruce Momjian <pgman@candle.pha.pa.us>
To: David Turner <David@firepro.co.za>
Cc: PostgreSQL-patches <pgsql-patches@postgresql.org>
Cc: PostgreSQL-interfaces <pgsql-interfaces@postgresql.org>
Subject: Re: PostgreSQL: libpq, win32 build
Date: Mon, 8 Mar 2004 23:55:17 -0500 (EST)
Message-ID: <200403090455.i294tHL01900@candle.pha.pa.us> (raw)
In-Reply-To: <41DBF86E9B2D40458004C7C631CB6E510836CA@sbs1.firepro.co.za>
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 library
> > >
> >
> > What 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: pgman@candle.pha.pa.us, David@firepro.co.za, pgsql-patches@postgresql.org
Subject: Re: PostgreSQL: libpq, win32 build
In-Reply-To: <200403090455.i294tHL01900@candle.pha.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox