Re: AIX 4.1 shared library support

From: Rocco Altier <roccoa(at)routescape(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-ports(at)postgresql(dot)org
Subject: Re: AIX 4.1 shared library support
Date: 2001-04-13 15:58:22
Message-ID: Pine.A41.4.21.0104131151120.320678-100000@apdev
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-ports

On Fri, 13 Apr 2001, Tom Lane wrote:

> Rocco Altier <roccoa(at)routescape(dot)com> writes:
> > I have noticed that only 1 of the 2 fixes necessary for AIX 4.1 have made
> > it into CVS.
>
> > The change that I submitted to Makefile.shlib has not gone in.
>
> Which was?
>
Here is patch again.

It only affects AIX 4.1 or earlier, since the LDFLAGS_SL is not defined
for AIX greater than 4.1

Thanks,
-rocco

*** Makefile.shlib.ORIG Mon Apr 2 12:58:28 2001
--- Makefile.shlib Fri Apr 13 11:53:32 2001
***************
*** 291,297 ****
# AIX case
$(shlib): lib$(NAME).a
$(MKLDEXPORT) lib$(NAME).a > lib$(NAME)$(EXPSUFF)
! $(COMPILER) -Wl,-H512 -Wl,-bM:SRE -Wl,-bI:$(top_builddir)/src/backend/$(POSTGRES_IMP) -Wl,-bE:lib$(NAME)$(EXPSUFF) -o $@ $< $(LDFLAGS) $(SHLIB_LINK)

endif # PORTNAME == aix

--- 291,297 ----
# AIX case
$(shlib): lib$(NAME).a
$(MKLDEXPORT) lib$(NAME).a > lib$(NAME)$(EXPSUFF)
! $(COMPILER) -Wl,-H512 -Wl,-bM:SRE -Wl,-bI:$(top_builddir)/src/backend/$(POSTGRES_IMP) -Wl,-bE:lib$(NAME)$(EXPSUFF) -o $@ $< $(LDFLAGS) $(SHLIB_LINK) $(LDFLAGS_SL)

endif # PORTNAME == aix

In response to

Responses

Browse pgsql-ports by date

  From Date Subject
Next Message kevin mclaughlin 2001-04-13 16:13:02 Re: Fw: porting to AIX
Previous Message Tom Lane 2001-04-13 15:49:45 Re: AIX 4.1 shared library support