Re: [HACKERS] Need for DLLINIT in Makefile.shlib

From: Jason Tishler <jason(at)tishler(dot)net>
To: Reini Urban <rurban(at)x-ray(dot)at>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>, PostgreSQL Cygwin mailing list <pgsql-cygwin(at)postgreSQL(dot)org>, PostgreSQL Win32 port list <pgsql-hackers-win32(at)postgreSQL(dot)org>
Subject: Re: [HACKERS] Need for DLLINIT in Makefile.shlib
Date: 2004-10-12 11:30:00
Message-ID: 20041012113000.GA1836@tishler.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin pgsql-hackers pgsql-hackers-win32

On Tue, Oct 12, 2004 at 01:37:48AM +0200, Reini Urban wrote:
> Bruce Momjian schrieb:
> >I am curious why Cygwin needs DLLINIT in Makefile.shlib, and Win32
> >doesn't:
> >
> > [snip]
> >
> >The only difference I see is that Cygwin uses $(DLLINIT) while Win32
> >does not. Is that correct? Why?
> >
> >Both set DLLINIT in their makefiles:
> >
> > DLLINIT = $(top_builddir)/src/utils/dllinit.o
> >
> >Could they be merged into a single snipped of code?
>
> Good point! Out of my head: I don't think that we (cygwin) don't need
> that anymore. With newer binutils it should get autogenerated. But
> I'll have to test before you can remove that dir.

I concur with Reini. The DLLINIT stuff is a vestige from b20.1. FWIW,
I attempted to remove it 3 - 4 years ago, but was unsuccessful...

Jason

--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6

In response to

Responses

Browse pgsql-cygwin by date

  From Date Subject
Next Message Dave Page 2004-10-12 11:49:33 Re: Static build of libpq fails
Previous Message Bruce Momjian 2004-10-12 01:06:26 Re: open item: tablespace handing in pg_dump/pg_restore

Browse pgsql-hackers by date

  From Date Subject
Next Message Greg Stark 2004-10-12 12:01:16 Re: open item: tablespace handing in pg_dump/pg_restore
Previous Message Magnus Hagander 2004-10-12 07:51:06 Re: open item: tablespace handing in pg_dump/pg_restore

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Dave Page 2004-10-12 11:49:33 Re: Static build of libpq fails
Previous Message Bruce Momjian 2004-10-12 01:08:21 Re: Static build of libpq fails