libtool
[Top][All Lists]
Advanced

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

Re: Supporting -export-dynamic on AIX


From: Albert Chin
Subject: Re: Supporting -export-dynamic on AIX
Date: Tue, 8 Aug 2006 14:58:44 -0500
User-agent: Mutt/1.5.6i

On Sun, Jul 02, 2006 at 10:58:23PM +0900, Peter O'Gorman wrote:
> On Tue, 2006-06-20 at 12:12 -0500, Albert Chin wrote:
> 
> Albert also questioned the documentation:
> 
> >   On some operating systems, a program symbol must be specially
> > declared
> >   in order to be dynamically resolved with the `dlsym' (or equivalent)
> >   function.
> > 
> >      Libtool provides the `-export-dynamic' and `-module' link flags
> >   (*note Link mode::), which do this declaration.  You need to use
> > these
> >   flags if you are linking an application program that dlopens other
> >   modules or a libtool library that will also be dlopened.
> > 
> > Should the last sentence above end with ", respectively"?
> 
> I think this is a documentation bug. -export-dynamic does not imply
> -module, there is a line of code in ltmain that adds dlname to the .la
> file if either -module or -export-dynamic was specified, but this only
> "works" if modules and libraries are otherwise equivalent, so it should
> probably be removed and the documentation adjusted for HEAD, thoughts?
> Either way this patch does not affect that behavior at all.
> 
> Here are patches against branch-1-5 and HEAD, okay (with apropriate
> ChangeLog, of course)?

Another version. Patch against branch-1-5 only. I've reordered where
--export-dynamic occurs so we don't have to worry about the above.

-- 
albert chin (address@hidden)

Attachment: a
Description: branch-1-5 patch


reply via email to

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