X-Original-To: pgsql-interfaces-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id D70739DC84A for ; Tue, 21 Mar 2006 10:56:18 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 90491-09 for ; Tue, 21 Mar 2006 10:56:21 -0400 (AST) X-Greylist: delayed 04:31:00.132483 by SQLgrey- Received: from pye-srv-01.telemetry.co.uk (kdgmtbu.demon.co.uk [194.222.45.178]) by postgresql.org (Postfix) with ESMTP id A42C09DCA5A for ; Tue, 21 Mar 2006 10:56:13 -0400 (AST) Received: from pye-srv-01.telemetry.co.uk (IDENT:2@localhost [127.0.0.1]) by pye-srv-01.telemetry.co.uk (8.12.4/8.12.4) with ESMTP id k2LEuGkY028764 for ; Tue, 21 Mar 2006 14:56:16 GMT Received: (from daemon@localhost) by pye-srv-01.telemetry.co.uk (8.12.4/8.12.4/Submit) id k2LEuGx4028759; Tue, 21 Mar 2006 14:56:16 GMT From: Mark Morgan Lloyd Subject: Re: using libpq with the free Borland compiler or DEV-cpp Date: Tue, 21 Mar 2006 14:56:14 +0000 Organization: KDG Telemetry Message-ID: <4420140E.72398235@telemetry.co.uk> References: <20060321110525.8E5054B172@xprdmxin.myway.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: pgsql-interfaces@PostgreSQL.org X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.08 required=5 tests=[AWL=0.080] X-Spam-Score: 0.08 X-Spam-Level: X-Archive-Number: 200603/25 X-Sequence-Number: 6081 Zlati wrote: > > Can anybody tell me how to tell the compiler bcc or DEV-cpp to use this library. i have installed postgresql 8.1.3. i have only this libpq.dll. When I was "playing" with this the other day I noticed that bcc32.mak caused blibpq.dll to be created, rather than libpq.dll. With the major caveat that I am not an experienced C/C++ deveopler: I suggest building psql.exe using the Borland tools, then investigating the makefiles to see how they were causing the blibpq stub to be linked. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues]