This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: target/9843: [HPUX] -static still leaves the linker looking f or shl_*


>> From: law at redhat dot com [mailto:law at redhat dot com]
>> Sent: Wednesday, March 19, 2003 10:43 AM
>> To: BONNER,MATT (HP-Vancouver,ex1)
>> Cc: 'John David Anglin'; danglin at gcc dot gnu dot org; gcc-bugs at gcc dot gnu dot org;
>> gcc-prs at gcc dot gnu dot org; nobody at gcc dot gnu dot org; gcc-gnats at gcc dot gnu dot org
>> Subject: Re: target/9843: [HPUX] -static still leaves the linker looking
f or shl_*
>> 
>> 
>> In message 
>> <A134E2426B46D711BB4B000347AE6E7C76EBBD at xvan02 dot vcd dot hp dot com>, "BONNER,
MATT" writes:
>>  >Hmmm...
>>  >
>>  >Maybe all is still not well.  When I move an executable compiled with
>>  >all this stuff from an HP-UX 11 machine to an HP-UX machine, I get
>>  >
>>  >/usr/lib/dld.sl: Can't open shared library: /usr/lib/libdld.2
>>  >/usr/lib/dld.sl: No such file or directory
>>  >IOT trap
>>  >
>>  >I'm hunting around as I write this, but if you know what I'm doing
>>  >wrong now, please let me know.  Or if the answer is "You can't run
>>  >11 executables on 10." :-)
>>
>> You can't run hpux11 executables on an hpux10 system.

Okay.  Bummer.  However, I'm still confused.  I thought all these -Wl,-E,+n
commands were to link statically.  Why, then, is the executable looking for
shared library libdld.2?

thanks,
Matt


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]