libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AIX patch for libtool.m4


From: jedwards
Subject: Re: AIX patch for libtool.m4
Date: Tue, 27 May 2003 13:24:24 -0600
User-agent: Mozilla/5.0 (X11; U; AIX 0006844C4C00; en-US; rv:1.4a) Gecko/20000125

Boehne, Robert wrote:
Jim,

According to:
  http://www-1.ibm.com/servers/esdd/pdfs/aix_ll.pdf

One should create an AIX style library with -qmkshrobj and
create a SYSV-compat library with -G.  The two options should
not be used together.  All of the AIX support code in Libtool
has been written or looked over by IBM engineers in Austin, so
I'm very confident that Libtool is building these libraries correctly.

Thanks,

Robert Boehne

  
Robert,

Thank you for the reference,  however I cannot find anywhere a statement to the effect that these two flags should not be used together.  In fact on page 18 the reader is refered to C and C++ Application Development on AIX which clearly states on page 83 that these options can and should be used together.  I'm sure that you realize that if things had been working correctly I would not have felt the urge to send you a patch. 

Thank You,
Jim

-----Original Message-----
From: jedwards [mailto:address@hidden]
Sent: Tuesday, May 27, 2003 12:35 PM
To: address@hidden
Subject: AIX patch for libtool.m4


Hi,

The following patch for AIX 5 and xlC 6.0 causes shared libraries to be 
built correctly with xlC when LDFLAGS=-brtl is in the environment.  I 
think that this probably ought to be the default rather than the 
exception.  If you are interested I can look into changing things so 
that it is.


diff -r1.314.2.2 libtool.m4
2806c2806
< 	  shared_flag='${wl}-G'
---
 > 	  shared_flag='${wl}-G -qmkshrobj'




  


-- 
Jim Edwards             address@hidden
IBM Applications Analyst
NCAR SCD
BOULDER CO  303-497-1842 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]