* help loading ecoff files
@ 2000-06-01 2:15 Aric Coady
2000-05-31 21:00 ` Jeff Sturm
0 siblings, 1 reply; 2+ messages in thread
From: Aric Coady @ 2000-06-01 2:15 UTC (permalink / raw)
To: axp-list
I want to load a third-party .so file that is in ecoff format on alpha-linux.
It was built on an alpha-dec. I have access to both platforms; so I can
successfully build another executable that uses it, and run the executable on
alpha-linux. But what I really want is to load it explicitly.
So, /sbin/loader works on ecoff, but dlopen() doesn't. It just returns a
non-ELF format error. Can dlopen be patched to open ecoff? Is there an
ecoff->elf file converter for linux? Any other options?
TIA,
-coady
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: help loading ecoff files
2000-06-01 2:15 help loading ecoff files Aric Coady
@ 2000-05-31 21:00 ` Jeff Sturm
0 siblings, 0 replies; 2+ messages in thread
From: Jeff Sturm @ 2000-05-31 21:00 UTC (permalink / raw)
To: axp-list
Aric Coady wrote:
> I want to load a third-party .so file that is in ecoff format on alpha-linux.
> It was built on an alpha-dec. I have access to both platforms; so I can
> successfully build another executable that uses it, and run the executable on
> alpha-linux. But what I really want is to load it explicitly.
>
> So, /sbin/loader works on ecoff, but dlopen() doesn't. It just returns a
> non-ELF format error. Can dlopen be patched to open ecoff? Is there an
> ecoff->elf file converter for linux? Any other options?
I don't believe it is possible to mix ELF and ECOFF objects into one
process image. For one thing, they must link with different libc
implementations. A .so isn't really any easier than a .o in this
regard.
Perhaps you could build some RPC wrapper around the ECOFF .so in Tru64
and execute it under Linux. There probably isn't an easy solution.
--
Jeff Sturm
jeff.sturm@appnet.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2000-05-31 20:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-06-01 2:15 help loading ecoff files Aric Coady
2000-05-31 21:00 ` Jeff Sturm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox