Re: Shared libraries on AIX

2009-05-09 Thread Steve Edwards
On Sat, 9 May 2009 20:01:18 +0200 Ralf Wildenhues wrote: > Hi Steve, > > * Steve Edwards wrote on Sat, May 09, 2009 at 02:11:11PM CEST: > [ -brtl ] > > Should libtool be adding this flag, or is this something I should > > be manually adding via AM_LDFLAGS? Every other aspect of the shared > > li

Re: Shared libraries on AIX

2009-05-09 Thread Ralf Wildenhues
Hi Steve, * Steve Edwards wrote on Sat, May 09, 2009 at 02:11:11PM CEST: [ -brtl ] > Should libtool be adding this flag, or is this something I should > be manually adding via AM_LDFLAGS? Every other aspect of the shared > library build is handled fine by libtool. As Bob already noted, you should

Re: Shared libraries on AIX

2009-05-09 Thread Bob Friesenhahn
On Sat, 9 May 2009, Steve Edwards wrote: I did however find that manually adding -brtl to LDFLAGS allowed this to work. The documentation I had available stated that -brtl is used to "determine which algorithm will be used to find libraries", however there was more info on the ibm site which cle

Shared libraries on AIX

2009-05-09 Thread Steve Edwards
Hi, I ran into a slight difficulty with shared libraries on IBM AIX systems using libtool 2.2.6 (I'm not even sure if this is really where I should be asking questions about this) If I have a main Fortran routine containing a common block and call a Fortran subroutine in a shared library also ref

Re: static/shared libraries on AIX

2001-04-26 Thread libtool
On Thu, Apr 26, 2001 at 10:12:52AM -0500, Robert Boehne wrote: > [EMAIL PROTECTED] wrote: > > > > Dan and Robert, please review. The patch does the following: > > 1. If using runtime-linking, created shared libraries with > > -G as the final option. Remove -bM:SRE if runtime-linking > >

Re: static/shared libraries on AIX

2001-04-26 Thread Robert Boehne
[EMAIL PROTECTED] wrote: > > On Thu, Apr 26, 2001 at 08:31:02AM -0500, [EMAIL PROTECTED] wrote: > > > From: [EMAIL PROTECTED] > > > > > > Can we decide to: > > > 1. On AIX systems that support run-time-linking, make it the > > > *default* so lib.a is "static" and lib.so is > > > share

Re: static/shared libraries on AIX

2001-04-26 Thread mcnichol
> From: [EMAIL PROTECTED] > > > 2. On AIX systems that do not support run-time-linking, support > > only shared libraries (so, lib.a is shared and there is > > no lib.so). > > Yup... That's what it does now. > Oops... Sorry, I read that part wrong. Option 2. may be what we want

Re: static/shared libraries on AIX

2001-04-26 Thread libtool
On Thu, Apr 26, 2001 at 08:31:02AM -0500, [EMAIL PROTECTED] wrote: > > From: [EMAIL PROTECTED] > > > > Can we decide to: > > 1. On AIX systems that support run-time-linking, make it the > > *default* so lib.a is "static" and lib.so is > > shared. With this, "-brtl" would be "inserted"

Re: static/shared libraries on AIX

2001-04-26 Thread mcnichol
> From: [EMAIL PROTECTED] > > On Tue, Apr 17, 2001 at 02:51:08AM +0100, Gary V. Vaughan wrote: > > > AIX by default wants it's shared libraries called lib.a. > > > So libltdl.a is created (as a symlink to libltdl.so.3.0.0). > > > The Makefile then wants to create a non-shared library also called

Re: static/shared libraries on AIX

2001-04-25 Thread libtool
On Tue, Apr 17, 2001 at 02:51:08AM +0100, Gary V. Vaughan wrote: > > AIX by default wants it's shared libraries called lib.a. > > So libltdl.a is created (as a symlink to libltdl.so.3.0.0). > > The Makefile then wants to create a non-shared library also called > > libltdl.a. This predictably fails