[Top][All Lists]

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

Re: loadable builtins on HP-UX

From: Chet Ramey
Subject: Re: loadable builtins on HP-UX
Date: Wed, 4 Nov 2015 11:29:37 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

On 11/4/15 9:04 AM, Greg Wooledge wrote:
> On Wed, Nov 04, 2015 at 12:09:56AM -0500, Mike Frysinger wrote:
>> On 03 Nov 2015 18:25, Chet Ramey wrote:

>>> It looks like shared objects loaded by dlopen don't have access to the
>>> loading program's symbols.  That might be an HP-specific option to dlopen.
>>> It might not, in which case you're out of luck.
>> FWIW, the option on linux is -rdynamic.  guess you'll (Greg) want to find
>> the HP-UX equivalent to that.  see the configure.ac block for details.
>> -mike
> The linker option in HP-UX 11.11 is -E .  For gcc to pass it along,
> the correct option is -Wl,-E .  I'm not sure how to do it if you're
> using the pay-for HP C compiler.

Change the hpux11*-*gcc* stanza in support/shobj-conf to specify the
right options.  I'm guessing you'll need to change the assignment to
SHOBJ_LDFLAGS.  Once you have something that works, send me diffs and
I'll apply them.


``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/

reply via email to

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