Re: Shared libraries on AIX

2009-05-10 Thread Steve Edwards
On Sat, 9 May 2009 20:01:18 +0200 Ralf Wildenhues ralf.wildenh...@gmx.de 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

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

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

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: static/shared libraries on AIX

2001-04-26 Thread libtool
nm, but means don't demangle with GNU nm @@ -1535,8 +1536,8 @@ esac echo $ac_n checking whether to build shared libraries... $ac_c 16 test $can_build_shared = no enable_shared=no -# On AIX, shared libraries and static libraries use the same namespace, and -# are all built from PIC. +# On AIX 3

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 libname.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 as