[Top][All Lists]

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

Re: [Bug-readline] Build readline with libtool?

From: Michael Haubenwallner
Subject: Re: [Bug-readline] Build readline with libtool?
Date: Tue, 15 Apr 2014 20:51:22 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130905 Thunderbird/17.0.8

On 04/15/14 19:59, Chet Ramey wrote:
> On 4/15/14, 1:30 PM, Michael Haubenwallner wrote:
>>> Is there some existing system for which this (unsupported) is an actual
>>> problem?
>> It's not the 'unsupported' part. For AIX I've found a non-trivial, but still
>> manpage-following way to create shared libraries with full 'SONAME' support.
>> It was fairly "easy" to implement this way within libtool, because of its
>> already existing many-platforms/many-variants support "framework".
>> What I'm tired of is reinventing the wheel for each home-brewed many-platform
>> sharedlib support again and again. Instead, I'd love to see anyone to at 
>> least
>> /allow/ outsourcing the shared library creation to libtool.
> You've done the work; I'd like to see you share it.  That way I can
> incorporate it into the bash/readline shared object creation script.
> Even the commands to use to create and install shared libraries would
> be useful.  I don't have or use AIX, so I rely on those who do.

Well, here's the most recent description of that non-trivial way:

This is the patch I've used for readline already using some helper scripts:

And here's the wrapper scripts, installed as CHOST-mkexpfile, and ld used by 

The problem with these scripts right now is the additional external dependency
during bootstrap, which I can drop with a package-private libtool script, as in:

Still I doubt you really want to integrate these scripts into readline...

/haubi/ -> easter holidays

reply via email to

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