RE: [HACKERS] how to make libpq on winnt using the 'win32.mak's - Mailing list pgsql-hackers

From Magnus Hagander
Subject RE: [HACKERS] how to make libpq on winnt using the 'win32.mak's
Date
Msg-id 215896B6B5E1CF11BC5600805FFEA82103045A1D@sirius.edu.sollentuna.se
Whole thread Raw
Responses RE: [HACKERS] how to make libpq on winnt using the 'win32.mak's  ("Hiroshi Inoue" <Inoue@tpf.co.jp>)
List 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


pgsql-hackers by date:

Previous
From: Magnus Hagander
Date:
Subject: RE: [HACKERS] how to make libpq on winnt using the 'win32.mak's
Next
From: Thomas Lockhart
Date:
Subject: createdb default arguments