From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 31307 invoked from network); 31 May 2000 20:04:25 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 31 May 2000 20:04:25 -0000 Received: from sigma6.com (ns2.sigma6.com [204.176.48.66]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id QAA21749 for ; Wed, 31 May 2000 16:04:23 -0400 Received: from appnet.com (toronto.sigma6.com [204.176.48.147]) by sigma6.com (8.8.8/8.8.8) with ESMTP id QAA32763 for ; Wed, 31 May 2000 16:04:19 -0400 Message-ID: <39357D69.C2CBE662@appnet.com> Date: Wed, 31 May 2000 17:00:25 -0400 From: Jeff Sturm Organization: AppNet X-Mailer: Mozilla 4.51 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: help loading ecoff files References: <00053119181402.25757@sailor.dolphinsearch.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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