*BSD News Article 91622


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!uunet!in3.uu.net!199.94.215.18!cam-news-hub1.bbnplanet.com!news.bbnplanet.com!news.mathworks.com!enews.sgi.com!news.sgi.com!sdd.hp.com!hpscit.sc.hp.com!news.india.hp.com!news
From: Vivek Chopra <vivekc@india.hp.com>
Newsgroups: comp.unix.bsd.freebsd.misc,gnu.gcc.help
Subject: Re: Convert Binary formats?
Date: Sun, 23 Mar 1997 16:09:34 +0500
Organization: Hewlett Packard India Software Operation, Bangalore
Lines: 20
Message-ID: <33350F6E.5826@india.hp.com>
References: <5h0qhe$8i2@fu-berlin.de>
NNTP-Posting-Host: abhishek.india.hp.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0 (X11; I; HP-UX A.09.05 9000/712)
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:37585 gnu.gcc.help:19867

Gunther Schadow wrote:
> 
> Hi all who are knowledgable,
> 
> is it generally possible to convert binaries of different formats for
> the same target architecture? In FreeBSD we have working binary
> compatibility to Linux/ELF and IBCS2 (SCO) but I am wondering whether
> it is not possible to convert them into a.out (all for i386
> architecture). Likewise, converting shared libraries into native
> format would open a whole new world of portability, not only for
> binaries, but also for development environments (APIs and libraries).
> Can BFD do such a magic? Is anyone working on this?
> 

Check out the binutils program `objcopy'. See the man page
at http://www.delorie.com/gnu/docs/binutils/objcopy.1.html

-- 
/* Vivek Chopra */
#include <std/disclaimer.h>