Subject: Re: Booting beige G3 w/ OF 2.4
To: Donald Lee <donlee_ppc@icompute.com>
From: Todd Whitesel <toddpw@best.com>
List: port-macppc
Date: 10/27/1999 22:27:53
> P.S. Is there a handy-dandy ELF=>XCOFF converter lying around on NetBSD?

The GNU objcopy command can do things like this. I'm at work without a NetBSD
machine handy, but the source should be in src/gnu/dist/binutils/objcopy.c and
it uses libbfd (src/gnu/dist/bfd).

First run it with --help. At the bottom it should say supported targets: with
a list. If aixcoff-rs6000 is listed, then you are in business, otherwise
you'll need to modify the config bits and build a new libbfd, and re-link
objcopy.

Something like "objcopy -O elf32-powerpc netbsd.xcoff netbsd.elf" should do
the trick once an appropriately featureful objcopy has been built.

Todd Whitesel
toddpw @ best.com