Skip site navigation (1) Skip section navigation (2)

Re: libpq compiled not compiled with minGW

From: Alexander Cohen <alex(at)toomuchspace(dot)com>
To: "Merlin Moncure" <merlin(dot)moncure(at)rcsonline(dot)com>
Cc: "Bruce Momjian" <pgman(at)candle(dot)pha(dot)pa(dot)us>,<pgsql-hackers-win32(at)postgresql(dot)org>
Subject: Re: libpq compiled not compiled with minGW
Date: 2004-07-13 14:52:46
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers-win32
>> Alexander Cohen wrote:
>>> Has anyone compiled libpq with anything else than MinGW? I need to
> be
>>> able to use libpq in an app im compiling from CodeWarrior and a lib
>>> compiled with MinGW is not compatible with CW. Any ideas?
>> Sure.  7.4 and earlier have *.mak files for Visual C and Borland C++.
> I
>> assume CodeWarrior can use one of those.
> Yep, and I still use the Microsoft compiled version of psql (along with
> its libpq) because it seems deals with the console window better than
> the mingw version.  Another reason to do this is to static link a MSVC
> based app to the libpq dll.
> Just watch out for various versions of libpq.dll floating around, this
> can quickly turn into a mess (resist all temptations to put in
> c:\windows).

Tried compiling with the libpq downloaded from 
<>. It works much 
better than it did before but now im getting lots and lots of undefined 
symbols. What libraries does libpq.lib need to link against to compile?



In response to


pgsql-hackers-win32 by date

Next:From: Andreas PflugDate: 2004-07-13 18:13:04
Subject: Re: libpq compiled not compiled with minGW
Previous:From: Mitch PirtleDate: 2004-07-13 14:06:02
Subject: Re: [ADMIN] [PHP] Secure DB Systems - How to

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group