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

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема RE: [HACKERS] how to make libpq on winnt using the 'win32.mak's
Дата
Msg-id 215896B6B5E1CF11BC5600805FFEA82103045A1D@sirius.edu.sollentuna.se
обсуждение исходный текст
Ответы RE: [HACKERS] how to make libpq on winnt using the 'win32.mak's  ("Hiroshi Inoue" <Inoue@tpf.co.jp>)
Список 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 по дате отправления:

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: RE: [HACKERS] how to make libpq on winnt using the 'win32.mak's
Следующее
От: Thomas Lockhart
Дата:
Сообщение: createdb default arguments