RE: [HACKERS] how to make libpq on winnt using the 'win32.mak's

From: Magnus Hagander <mha(at)sollentuna(dot)net>
To: "'Jan Wieck'" <wieck(at)debis(dot)com>, Rini Dutta <rinid(at)rocketmail(dot)com>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: RE: [HACKERS] how to make libpq on winnt using the 'win32.mak's
Date: 2000-02-10 15:32:40
Message-ID: 215896B6B5E1CF11BC5600805FFEA82103045A1D@sirius.edu.sollentuna.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> > Hi
> >
> > I'm running postgres v6.5.3. I need to make calls to
> > the functions in libpq in my code. For this I need the
> > files - libpq.lib/libpq.lib.dll/libpqdll.lib.
>
> You find prepared .dll's under
>
> src/bin/pgaccess/win32/dll
>
> Wasn't there some utility to generate .lib files from .dll's?

I think you can just do:

LIB /DEF:libpqdll.def

Haven't tested it, though.

(If you don't have the def file, you can do "dumpbin /exports <file>" to get
a listing of them.)

//Magnus

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas Lockhart 2000-02-10 15:42:50 createdb default arguments
Previous Message Rini Dutta 2000-02-10 15:26:31 Re: [HACKERS] how to make libpq on winnt using the 'win32.mak's