Re: RFC: on AIX, which soname-equivalent to prefer with runtime linking?

2011-02-08 Thread Michael Haubenwallner
Hello again, some updates regarding the '# autoload' property in general, as well as in combination with both 32 and 64 bit shared objects in one archive: On 01/21/11 15:19, Michael Haubenwallner wrote: *) Create the Import File shr.imp, containing - this header: #!

Re: RFC: on AIX, which soname-equivalent to prefer with runtime linking?

2011-01-24 Thread Michael Haubenwallner
On 01/21/11 17:48, Robert Boehne wrote: Michael, The -brtl isn't a run-time linking flag, but more exactly, it's a system-5 shared library compatibility mode flag. It is intended to provide a more familiar shared library style, not additional features. As far as I can tell, runtime

Re: RFC: on AIX, which soname-equivalent to prefer with runtime linking?

2011-01-22 Thread Peter O'Gorman
On 01/21/2011 08:19 AM, Michael Haubenwallner wrote: Hello! Hi. Library versioning for AIX would be a great feature. After playing around with different ways[1], this is my proposed one, using an AIX feature called Import Files: *) Create the shared object shr.o (using '-G' linker flag).

Re: RFC: on AIX, which soname-equivalent to prefer with runtime linking?

2011-01-22 Thread Daniel Sands
The reasons to choose this way: *) It is possible to dlopen() with or without a version number: - dlopen(libNAME.so(shr.o), RTLD_MEMBER), besides the preferred - dlopen(libNAME.so.1(shr.o), RTLD_MEMBER), and even - dlopen(libNAME.so.1.2.3(shr.o), RTLD_MEMBER) does work. Does