Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-ports by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group