Обсуждение: RE: [HACKERS] how to make libpq on winnt using the 'win32.mak's

Поиск
Список
Период
Сортировка

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

От
Magnus Hagander
Дата:
> > 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


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

От
"Hiroshi Inoue"
Дата:
> -----Original Message-----
> From: owner-pgsql-hackers@postgreSQL.org
> [mailto:owner-pgsql-hackers@postgreSQL.org]On Behalf Of Magnus Hagander
> 
> > > 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've made the dll's(libpq.dll libpgtcl.dll) under pgaccess/win32
by Constantin's request. Could someone make them instead
from now ? I've used them little myself and would lose VC++
environmemt in the near future. 

Regards.

Hiroshi Inoue
Inoue@tpf.co.jp


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

От
Hannu Krosing
Дата:
Hiroshi Inoue wrote:
> 
> > -----Original Message-----
> > From: owner-pgsql-hackers@postgreSQL.org
> > [mailto:owner-pgsql-hackers@postgreSQL.org]On Behalf Of Magnus Hagander
> >
> > > > 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've made the dll's(libpq.dll libpgtcl.dll) under pgaccess/win32
> by Constantin's request. Could someone make them instead
> from now ? I've used them little myself and would lose VC++
> environmemt in the near future.

Should'nt we use MingW32 instead of VC++ ?

----------
Hannu