Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Jeff Sturm <jeff.sturm@appnet.com>
To: axp-list@redhat.com
Subject: Re: help loading ecoff files
Date: Wed, 31 May 2000 17:00:25 -0400	[thread overview]
Message-ID: <39357D69.C2CBE662@appnet.com> (raw)
In-Reply-To: 00053119181402.25757@sailor.dolphinsearch.com

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


      reply	other threads:[~2000-05-31 20:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-06-01  2:15 help loading ecoff files Aric Coady
2000-05-31 21:00 ` Jeff Sturm [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox